git.annexia.org
/
miniexpect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09f7a5d
)
Free handle storage.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2014 18:40:57 +0000
(19:40 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2014 18:48:05 +0000
(19:48 +0100)
Memory leak found by valgrind.
miniexpect.c
patch
|
blob
|
history
diff --git
a/miniexpect.c
b/miniexpect.c
index
eca8e9a
..
7f02584
100644
(file)
--- a/
miniexpect.c
+++ b/
miniexpect.c
@@
-80,6
+80,8
@@
mexp_close (mexp_h *h)
return -1;
}
+ free (h);
+
return status;
}