chiark / gitweb /
tmpfiles: fix obscure leak in error path
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 31 Mar 2013 20:29:46 +0000 (16:29 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 31 Mar 2013 23:01:57 +0000 (19:01 -0400)
commit7f2c1f4dbfe00eeef072c65f81a43b3b7fb83365
tree8dbe8a09cbf84b3ef932e6ac3259c121cb65ce05
parente62d8c3944745ed276e6d4f33153009860e5cfc5
tmpfiles: fix obscure leak in error path

The leak was because of the single return in midst of all
'goto finish'es. Using automatic cleanup simplifies things.
src/tmpfiles/tmpfiles.c