summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/version.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/version.c b/source3/lib/version.c
index 204c2044a8..cbb70ae8a6 100644
--- a/source3/lib/version.c
+++ b/source3/lib/version.c
@@ -51,6 +51,7 @@ const char *samba_version_string(void)
*/
assert(res != -1);
+ free(samba_version);
samba_version = tmp_version;
#endif