summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index 623b566..e9507bc 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -43,12 +43,12 @@ PatchageEvent::execute(Patchage* patchage)
} else if (_type == CLIENT_CREATION) {
// No empty modules (for now)
- free(_str);
+ g_free(_str);
_str = NULL;
} else if (_type == CLIENT_DESTRUCTION) {
patchage->canvas()->remove_module(_str);
- free(_str);
+ g_free(_str);
_str = NULL;
} else if (_type == PORT_CREATION) {