summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-19 19:31:02 +0100
committerVolker Lendecke <vl@samba.org>2008-01-19 19:31:02 +0100
commit07e07f696ad10f3a5d7a0d9de656ff13600ac97d (patch)
tree3f38909323fdde81e1650cf3c4bc92d3ac0bac16 /source3/lib
parenta0bd9d97a3a701fdb1f9a48ce925f63b786a8070 (diff)
downloadsamba-07e07f696ad10f3a5d7a0d9de656ff13600ac97d.tar.gz
samba-07e07f696ad10f3a5d7a0d9de656ff13600ac97d.tar.bz2
samba-07e07f696ad10f3a5d7a0d9de656ff13600ac97d.zip
Use SAFE_FREE instead of free
(This used to be commit 999647329028147d7c29a3348202641b3e03430e)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/version.c3
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