summaryrefslogtreecommitdiffstats
path: root/core/linux.c
diff options
context:
space:
mode:
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);
}
}