summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinselector.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinselector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_skinselector.cpp b/plugins/Clist_modern/src/modern_skinselector.cpp
index 79d39745a0..4c12aa9478 100644
--- a/plugins/Clist_modern/src/modern_skinselector.cpp
+++ b/plugins/Clist_modern/src/modern_skinselector.cpp
@@ -543,8 +543,8 @@ int RegisterObjectByParce(char *ObjectName, char *Params)
obj.Data = ≷
int res = ske_AddDescriptorToSkinObjectList(&obj, nullptr);
- mir_free_and_nil(obj.szObjectID);
- mir_free_and_nil(gl.szFileName);
+ replaceStr(obj.szObjectID, nullptr);
+ replaceStr(gl.szFileName, nullptr);
return res;
}