[patch] fix leak
Joe Shaw
joe at ximian.com
Tue Apr 20 12:58:34 PDT 2004
On Tue, 2004-04-20 at 15:53 -0400, Robert Love wrote:
> In hald/callout.c :: add_property_to_env() we call
> hal_property_to_string() but never free the return.
>
> hal_property_to_string() uses g_strdup(), so we always need to g_free()
> the result when done, right?
Yep, nice catch.
Joe
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list