Fix bug #8970 - Possible memory leaks in the samba master process.
[samba.git] / source3 / smbd / server.c
index 201e301c1f0cf01e47ee15a5700d13d03f38d2e3..63a9869dcef367fe653afc8747b138e1f9ee1ae9 100644 (file)
@@ -804,6 +804,7 @@ bool reload_services(bool test)
                        set_dyn_CONFIGFILE(fname);
                        test = False;
                }
+               TALLOC_FREE(fname);
        }
 
        reopen_logs();