Jim Li wrote: > All, > > This patch just remove free() for a null pointer which cause the crash. > > Thanks > Jim Hi Jim,
Would the logic not be
if (desc != NULL)
g_free (desc)
instead of not doing a g_free() on desc at all?
Not doing so, you get a leak.
-Ghee
