mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 14:44:10 +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:
parent
098c8908ed
commit
ea354e96cb
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user