summaryrefslogtreecommitdiff
path: root/src/libsystemd
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-09-11 17:37:30 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-09-11 17:39:17 +0200
commit3f2e132a197ba3f5172cbbcd285e9aab021de8fc (patch)
tree43ccceee995cac2fa44ff97fc462f9941493cd6c /src/libsystemd
parent2b347169b9046ff2d735ef23e62a8c74f5151600 (diff)
test: fix mem-leak in fdopen() test
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).
Diffstat (limited to 'src/libsystemd')
0 files changed, 0 insertions, 0 deletions