mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 11:12:29 +02:00
- Replaced all free() with wfree() where appropriate
- Fixed some memory leaks
This commit is contained in:
1 parent
581ab58f70
commit
497e34b6b8
72 files changed
+545
-539
No files matched your search
+1
-1
@@ -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