summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-06-08 12:14:19 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-06-08 12:14:19 +0200
commitf4856b5be22030624f95e29bf6c3ebc4d4005aba (patch)
treeff3e35d5b3f5bc3c008be48ac7e404e1be160f91
parent44bca9a3fcb5d500f4f1c8ae922423b40140c1fe (diff)
presence: use correct struct in deref_handler
-rw-r--r--modules/presence/subscriber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/presence/subscriber.c b/modules/presence/subscriber.c
index b6a6a5b..6e4b2e2 100644
--- a/modules/presence/subscriber.c
+++ b/modules/presence/subscriber.c
@@ -197,8 +197,8 @@ static void destructor(void *arg)
static void deref_handler(void *arg)
{
- struct mwi *mwi = arg;
- mem_deref(mwi);
+ struct presence *pres = arg;
+ mem_deref(pres);
}