]> sourceware.org Git - dm.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)
commitfb93f72b4a6dd40c9f57375b1a33c05189e2b737
tree91b20475ba0dc3159dd1cd8cc309ea4cedec9242
parentc5af50a787755eeac55d3e6ae2016d309a24a5d2
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.
dmeventd/dmevent.c
lib/event/libdm-event.c
This page took 0.023015 seconds and 5 git commands to generate.