aboutsummaryrefslogtreecommitdiff
path: root/cmd-load-buffer.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-04-22 08:01:54 +0100
committerThomas Adam <thomas@xteddy.org>2017-04-22 08:01:54 +0100
commitd8398af77033519b21258893927deeaa1208c17e (patch)
tree4807bb2c0ba5703866a4a3e1fa1bbf02f977e782 /cmd-load-buffer.c
parent21240c1a8f89a4615b5bd8fa129618fb45c1c3cb (diff)
parent30348edc7c0e3fd7afa545efbe48cdad69102e65 (diff)
downloadrtmux-d8398af77033519b21258893927deeaa1208c17e.tar.gz
rtmux-d8398af77033519b21258893927deeaa1208c17e.tar.bz2
rtmux-d8398af77033519b21258893927deeaa1208c17e.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-load-buffer.c')
-rw-r--r--cmd-load-buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-load-buffer.c b/cmd-load-buffer.c
index 677f3656..a3cabdc0 100644
--- a/cmd-load-buffer.c
+++ b/cmd-load-buffer.c
@@ -127,6 +127,7 @@ error:
free(pdata);
if (f != NULL)
fclose(f);
+ free(file);
return (CMD_RETURN_ERROR);
}