diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-19 19:31:02 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-19 19:31:02 +0100 |
commit | 07e07f696ad10f3a5d7a0d9de656ff13600ac97d (patch) | |
tree | 3f38909323fdde81e1650cf3c4bc92d3ac0bac16 | |
parent | a0bd9d97a3a701fdb1f9a48ce925f63b786a8070 (diff) | |
download | samba-07e07f696ad10f3a5d7a0d9de656ff13600ac97d.tar.gz samba-07e07f696ad10f3a5d7a0d9de656ff13600ac97d.tar.bz2 samba-07e07f696ad10f3a5d7a0d9de656ff13600ac97d.zip |
Use SAFE_FREE instead of free
(This used to be commit 999647329028147d7c29a3348202641b3e03430e)
-rw-r--r-- | source3/lib/version.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/version.c b/source3/lib/version.c index cbb70ae8a6..3cae02ad2e 100644 --- a/source3/lib/version.c +++ b/source3/lib/version.c @@ -51,7 +51,8 @@ const char *samba_version_string(void) */ assert(res != -1); - free(samba_version); + SAFE_FREE(samba_version); + samba_version = tmp_version; #endif |