[patch] fix leak

Robert Love rml at ximian.com
Tue Apr 20 12:53:08 PDT 2004


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?

	Robert Love


-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-g_free-fix.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20040420/1aebf801/hal-g_free-fix.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list