summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 96d54e6)
raw | patch | inline | side by side (parent: 96d54e6)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Apr 2014 18:27:44 +0000 (20:27 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Apr 2014 18:27:44 +0000 (20:27 +0200) |
src/frontend/connection.c | patch | blob | history |
index 93829ab248dc3992eca7124b1c6a8f95bd035345..aa0325570171c9f6f0807edc92c953ace241004d 100644 (file)
close(conn->fd);
conn->fd = -1;
+ if (conn->username)
+ free(conn->username);
+ conn->username = NULL;
+
sdb_strbuf_destroy(conn->buf);
conn->buf = NULL;
sdb_strbuf_destroy(conn->errbuf);