mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-15 05:25:53 +01:00
- Replaced all free() with wfree() where appropriate
- Fixed some memory leaks
This commit is contained in:
@@ -57,7 +57,7 @@ void
|
||||
WMSetViewDragSourceProcs(WMView *view, WMDragSourceProcs *procs)
|
||||
{
|
||||
if (view->dragSourceProcs)
|
||||
free(view->dragSourceProcs);
|
||||
wfree(view->dragSourceProcs);
|
||||
view->dragSourceProcs = wmalloc(sizeof(WMDragSourceProcs));
|
||||
|
||||
*view->dragSourceProcs = *procs;
|
||||
|
||||
Reference in New Issue
Block a user