Fix leak of toplevel data
* src/xterm.c (x_dnd_compute_toplevels): Make sure to free `data'.
This commit is contained in:
parent
d49ea6de2f
commit
63b3999562
1 changed files with 3 additions and 0 deletions
|
@ -2961,6 +2961,9 @@ x_dnd_compute_toplevels (struct x_display_info *dpyinfo)
|
|||
SAFE_FREE ();
|
||||
#endif
|
||||
|
||||
if (data)
|
||||
XFree (data);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue