Skip to contentSkip to conversation

master - dmevent: fix referencing

PATCH Zdenek Kabelac 1 participant 1 message Oct 26, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b702d677477ff6b37678fe2b6c38969792c09359
Commit:        b702d677477ff6b37678fe2b6c38969792c09359
Parent:        44ba862674c995e2ed297714d3aa2b2dbd731ad1
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Oct 26 23:29:31 2015 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Oct 26 23:31:23 2015 +0100

dmevent: fix referencing

Plugin increments DSO refcounter in _alloc_thread_status().

---
 daemons/dmeventd/dmeventd.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
daemons/dmeventd/dmeventd.c +0 -1
index b5f1be3..d6accbf 100644
@@ -296,7 +296,6 @@ static struct dso_data *_lookup_dso(struct message_data *data)
 
 	dm_list_iterate_items(dso_data, &_dso_registry)
 		if (!strcmp(data->dso_name, dso_data->dso_name)) {
-			_lib_get(dso_data);
 			ret = dso_data;
 			break;
 		}