Aaron Luptak <[EMAIL PROTECTED]> [2005-07-28 18:50]:
> +   char *params[5];
> +   if(!bgfile | !desk_y | !desk_x | !zone | !con)
> +     return;
> +   params[0] = strdup(con);
>     [...]
> +   free(params);

That's broken. Don't free 'params', free params[0], params[1] etc.

Also, you prolly should check that your strdup calls are succeeding.

Regards,
Tilman

-- 
learn to quote: http://www.netmeister.org/news/learn2quote.html


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to