summaryrefslogtreecommitdiffstats
path: root/printf.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-02-06 23:16:39 -0500
committerTavian Barnes <tavianator@tavianator.com>2017-02-06 23:16:58 -0500
commit3fd6439f571a56771c6bbc21fa638cb94c929cc3 (patch)
tree1c5d5cdf501286e7a36c15c22df701c7f9246b46 /printf.c
parenteff9cbe83a6a4dad7338cf78ad3747d0d6628304 (diff)
downloadbfs-3fd6439f571a56771c6bbc21fa638cb94c929cc3.tar.xz
Fix a memory leak parsing -printf
Diffstat (limited to 'printf.c')
-rw-r--r--printf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/printf.c b/printf.c
index 7ee0dc1..08522db 100644
--- a/printf.c
+++ b/printf.c
@@ -731,6 +731,7 @@ done:
goto error;
}
+ dstrfree(literal);
return command;
error: