rename memory functions in pluginlink

This commit is contained in:
z3APA3A committed 2019-09-03 20:46:47 +03:00
1 parent e7e7d2fddf
commit 22cf9254c5
9 files changed
+82 -82

No files matched your search

+2 -2
View File
@@ -131,8 +131,8 @@ PLUGINAPI int PLUGINCALL start(struct pluginlink * pluginlink, int argc, unsigne
if(argc < 2) return 1;
pl = pluginlink;
if(service) pl->free(service);
service=(unsigned char *)pl->strdup((char *)argv[1]);
if(service) free(service);
service=strdup((char *)argv[1]);
if (already_loaded) { return (0); }