1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-28 17:32:29 +01:00

- Replaced all free() with wfree() where appropriate

- Fixed some memory leaks
This commit is contained in:
dan
2000-10-31 14:57:22 +00:00
parent 581ab58f70
commit 497e34b6b8
72 changed files with 545 additions and 539 deletions

View File

@@ -192,7 +192,7 @@ get_qstring(FILE *f)
else {
char *tmp = unescapestr(buffer);
proplist_t pl = PLMakeString(tmp);
free(tmp);
wfree(tmp);
return pl;
}
}
@@ -224,7 +224,7 @@ get_string(FILE *f)
else {
char *tmp = unescapestr(buffer);
proplist_t pl = PLMakeString(tmp);
free(tmp);
wfree(tmp);
return pl;
}
}
@@ -473,7 +473,7 @@ ReadProplistFromFile(char *file)
pl = NULL;
}
free(buffer);
wfree(buffer);
fclose(f);