summaryrefslogtreecommitdiffstats
path: root/core/linux.c
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-01-22 20:29:55 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-02-02 11:29:55 -0800
commitb5ce06c8b958cdc51761c31697189db81baf4423 (patch)
treea4b6550674a4f189b847c76a50f287fbb31cd1b8 /core/linux.c
parentd6c8edc2dbf04592ecf2ba00c743038babfa6f6b (diff)
downloadsubsurface-b5ce06c8b958cdc51761c31697189db81baf4423.tar.gz
Free various struct membuffer in different functions
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'core/linux.c')
-rw-r--r--core/linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/linux.c b/core/linux.c
index 2ae4d5c7e..de7991bc7 100644
--- a/core/linux.c
+++ b/core/linux.c
@@ -42,6 +42,7 @@ void subsurface_user_info(struct user_info *user)
gethostname(hostname, sizeof(hostname));
put_format(&mb, "%s@%s", username, hostname);
user->email = mb_cstring(&mb);
+ free_buffer(&mb);
}
}