]> sourceware.org Git - lvm2.git/commit - libdaemon/client/daemon-client.c
Do not hide deallocation of buffer
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 27 Feb 2012 11:49:16 +0000 (11:49 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 27 Feb 2012 11:49:16 +0000 (11:49 +0000)
commit5627fc8e7b41e481cf1daf64432d1b44c9d6a072
tree4725006c99e70dc0e711e98745972cd14455e494
parentc57a9960b522e5f82eabfa29b1cb0ae7c00b1249
Do not hide deallocation of buffer

As API is passing structures by value, do not leave
the function which created buffer and keeps valid pointer
look like it would be some memory leak and move
free of buffer from inner function - makes more obvious,
how is the memory management handled.
daemons/common/daemon-client.c
This page took 0.033185 seconds and 5 git commands to generate.