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 | c0ef0e113e8d3117891b4b137f660ca3c4c6b1f0 (patch) | |
tree | b1a191b7c5b57921b1c3229ba8e672dcc2ce1338 /source3/web | |
parent | 2d6a3079b805a57f5618c97fff2adda77de934f4 (diff) | |
download | samba-c0ef0e113e8d3117891b4b137f660ca3c4c6b1f0.tar.gz samba-c0ef0e113e8d3117891b4b137f660ca3c4c6b1f0.tar.bz2 samba-c0ef0e113e8d3117891b4b137f660ca3c4c6b1f0.zip |
move to SAFE_FREE()
(This used to be commit 67db8f03c5c9e81e11b5f3276b50ee23e09a2659)
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/cgi.c | 2 | ||||
-rw-r--r-- | source3/web/diagnose.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c index 88f4d3f36f..3547379084 100644 --- a/source3/web/cgi.c +++ b/source3/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/source3/web/diagnose.c b/source3/web/diagnose.c index f22fe0d9b2..bf2e6da17d 100644 --- a/source3/web/diagnose.c +++ b/source3/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; } |