Diff between ded317e9c2848e16e0616b961df2b3dc4e836c6e and e0eeef1030e0fd869a93d97a7354a8c8b363a07f

Changed Files

File Additions Deletions Status
client/main.c +1 -0 modified

Full Patch

diff --git a/client/main.c b/client/main.c
index 8f75f0e..1b9c683 100644
--- a/client/main.c
+++ b/client/main.c
@@ -2571,6 +2571,7 @@ static gboolean parse_agent(const char *key, const char *value,
 	if (!value)
 		return FALSE;
 
+	g_free(auto_register_agent);
 	auto_register_agent = g_strdup(value);
 
 	return TRUE;