mirror of
https://github.com/brl/mutter.git
synced 2025-07-25 19:18:03 +00:00
xprops: free the text list content too
A text list is an array of pointers into a buffer. Freeing the array is not enough, we need to free the buffer too. https://bugzilla.gnome.org/show_bug.cgi?id=729732
This commit is contained in:
@@ -753,7 +753,7 @@ text_property_to_utf8 (Display *xdisplay,
|
|||||||
ret = g_strdup (local_list[0]);
|
ret = g_strdup (local_list[0]);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
meta_XFree (local_list);
|
XFreeStringList (local_list);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user