aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/mds-message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmdsserver/mds-message.c')
-rw-r--r--src/libmdsserver/mds-message.c1
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;