chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
3f2e132
)
test: fix mem-leak in fdopen() test
author
David Herrmann
<dh.herrmann@gmail.com>
Thu, 11 Sep 2014 15:37:30 +0000
(17:37 +0200)
committer
David Herrmann
<dh.herrmann@gmail.com>
Thu, 11 Sep 2014 15:39:17 +0000
(17:39 +0200)
We must free FILE* after function return to not leak resources. Note that
this also closes our fd as fdopen() takes ownership of it.
Reported by Philippe De Swert (via coverity).
No differences found