diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-14 06:41:32 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-14 06:41:32 +0200 |
commit | d4f18457a4bcdf321b6f97394c3a7c26dd2225e7 (patch) | |
tree | 8b1b20fd49869ace10fe449301ba0b21b878569d /src/libmdsserver/mds-message.c | |
parent | m fix (diff) | |
download | mds-d4f18457a4bcdf321b6f97394c3a7c26dd2225e7.tar.gz mds-d4f18457a4bcdf321b6f97394c3a7c26dd2225e7.tar.bz2 mds-d4f18457a4bcdf321b6f97394c3a7c26dd2225e7.tar.xz |
fix dumb-client and memory errors
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/libmdsserver/mds-message.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmdsserver/mds-message.c b/src/libmdsserver/mds-message.c index b324ad4..d65ac6b 100644 --- a/src/libmdsserver/mds-message.c +++ b/src/libmdsserver/mds-message.c @@ -94,6 +94,7 @@ int mds_message_read(mds_message_t* restrict this, int fd) { size_t i; xfree(this->headers, this->header_count); + this->headers = NULL; } this->header_count = 0; |