summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-10-06 17:29:11 +0100
committerAtomic Bot <atomic-devel@projectatomic.io>2017-10-06 16:46:17 +0000
commit5695868459341304f48aab811a0c6a08e573622a (patch)
tree24d6ef96f64201146a753969b6452f2caacd5382
parentdbcbcdf4f59dc0e26f2a7218b2c633dbc35433e3 (diff)
downloadbubblewrap-5695868459341304f48aab811a0c6a08e573622a.tar.gz
Partially revert "bubblewrap: Fix a minor memory leak in --args handling"
This reverts the actual leak fix from commit 4b8fa9570475c9e7c72716278d19f57c896a7580, which seems to make --args fail to work. Signed-off-by: Simon McVittie <smcv@collabora.com> Closes: #230 Approved by: cgwalters
-rw-r--r--bubblewrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bubblewrap.c b/bubblewrap.c
index edd9887..b890c71 100644
--- a/bubblewrap.c
+++ b/bubblewrap.c
@@ -1321,7 +1321,7 @@ parse_args_recurse (int *argcp,
{
int the_fd;
char *endptr;
- cleanup_free char *data = NULL;
+ char *data = NULL;
const char *p, *data_end;
size_t data_len;
cleanup_free const char **data_argv = NULL;