summaryrefslogtreecommitdiff
path: root/src/core/servers.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-14 14:14:54 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-14 14:14:54 +0000
commit53d5c92cf494866296ae8082804dddcdef656797 (patch)
treefb11d63803059b1069983566a5d8155bfc16af96 /src/core/servers.c
parent2752599e7a806f028a5ba572a8678d1801b93fbb (diff)
downloadirssi-53d5c92cf494866296ae8082804dddcdef656797.zip
Fixed some memory leaks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1837 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers.c')
-rw-r--r--src/core/servers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/servers.c b/src/core/servers.c
index 0707645c..6b6c8087 100644
--- a/src/core/servers.c
+++ b/src/core/servers.c
@@ -114,6 +114,7 @@ static char *server_create_tag(SERVER_CONNECT_REC *conn)
same server and you want to keep the same tags with
the servers (or it would cause problems when rejoining
/LAYOUT SAVEd channels). */
+ g_free(tag);
return g_strdup(conn->tag);
}