1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/dmeventd
Jonathan Brassow 5ca54c4f0b dmeventd: Fix memory leak
When creating a timeout thread for snapshots, the thread is not
tracked and thus never joined.  This means that the exit status
of the timeout thread is held indefinitely.  Saves a bit of
memory to set PTHREAD_CREATE_DETACHED when creating this thread.

I've also added pthread_attr_init|destroy to setup the creation
pthread_attr_t.

Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
2013-07-31 15:23:13 -05:00
..
plugins lvresize: separate validation from action 2013-07-06 03:28:21 +01:00
.exported_symbols Add rudimentary versioning to the dmevend protocol, allowing us to detect the 2011-04-04 16:11:09 +00:00
dmeventd.c dmeventd: Fix memory leak 2013-07-31 15:23:13 -05:00
dmeventd.h configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
libdevmapper-event.c cleanup: stack usage 2013-07-01 23:11:14 +02:00
libdevmapper-event.h Add FIXME for misuse in case of dm_event_mask enum. 2012-02-27 11:46:25 +00:00
libdevmapper-event.pc.in Use Require.private: field for devmapper-event.pc 2010-05-11 08:47:02 +00:00
Makefile.in Make dmsetup.static and lvm.static build when dmeventd is disabled. 2011-11-14 21:30:35 +00:00