]> sourceware.org Git - lvm2.git/commit
fixed dmevent so that it doesn't do a double free when you run
authorBenjamin Marzinski <bmarzins@redhat.com>
Wed, 4 May 2005 18:53:28 +0000 (18:53 +0000)
committerBenjamin Marzinski <bmarzins@redhat.com>
Wed, 4 May 2005 18:53:28 +0000 (18:53 +0000)
commitcbac299f5b5d43b22f3f53247f282b5349f13597
tree955e467d7a9720ed2c0ae213a685aa41cd375130
parent40773cd620c4d1b11583217a6e700e1da5e28f33
fixed dmevent so that it doesn't do a double free when you run
# dmevent -l

Also, changed the behaviour of dm_get_registered_device(), so that it doesn't
change the pointer you passed in without freeing the memory on a non-next call,
and doesn't free your pointer without setting it to NULL on a failed next call.
daemons/dmeventd/dmevent.c
This page took 0.034168 seconds and 5 git commands to generate.