diff options
author | Simo Sorce <idra@samba.org> | 2001-09-17 11:48:29 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-09-17 11:48:29 +0000 |
commit | 67db8f03c5c9e81e11b5f3276b50ee23e09a2659 (patch) | |
tree | 5cf386b5eda70c06999718f9e7c827f40e5bc41c /source/web | |
parent | fc71962409e11509a60fb2be6741c32970865881 (diff) | |
download | samba-67db8f03c5c9e81e11b5f3276b50ee23e09a2659.tar.gz samba-67db8f03c5c9e81e11b5f3276b50ee23e09a2659.tar.xz samba-67db8f03c5c9e81e11b5f3276b50ee23e09a2659.zip |
move to SAFE_FREE()
Diffstat (limited to 'source/web')
-rw-r--r-- | source/web/cgi.c | 2 | ||||
-rw-r--r-- | source/web/diagnose.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/web/cgi.c b/source/web/cgi.c index 88f4d3f36fa..35473790840 100644 --- a/source/web/cgi.c +++ b/source/web/cgi.c @@ -168,7 +168,7 @@ void cgi_load_variables(FILE *f1) variables[num_variables].name = strdup(line); variables[num_variables].value = strdup(p+1); - free(line); + SAFE_FREE(line); if (!variables[num_variables].name || !variables[num_variables].value) diff --git a/source/web/diagnose.c b/source/web/diagnose.c index f22fe0d9b25..bf2e6da17d1 100644 --- a/source/web/diagnose.c +++ b/source/web/diagnose.c @@ -36,7 +36,7 @@ BOOL nmbd_running(void) if ((ip_list = name_query(fd, "__SAMBA__", 0, True, True, loopback_ip, &count)) != NULL) { - free(ip_list); + SAFE_FREE(ip_list); close(fd); return True; } |