[Asterisk-code-review] res sorcery realtime: Fix leak of sorcery object type. (asterisk[certified/13.1])
Mark Michelson
asteriskteam at digium.com
Mon Jun 29 12:47:30 CDT 2015
Mark Michelson has uploaded a new change for review.
https://gerrit.asterisk.org/746
Change subject: res_sorcery_realtime: Fix leak of sorcery object type.
......................................................................
res_sorcery_realtime: Fix leak of sorcery object type.
ASTERISK-25165 #close
Reported by Corey Farrell
Change-Id: I625c3b50eee4576670b7eeb013c81ad043b4b4f8
---
M res/res_sorcery_realtime.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/46/746/1
diff --git a/res/res_sorcery_realtime.c b/res/res_sorcery_realtime.c
index 52b097f..61a97c6 100644
--- a/res/res_sorcery_realtime.c
+++ b/res/res_sorcery_realtime.c
@@ -142,6 +142,8 @@
}
}
+ ao2_ref(object_type, -1);
+
return objectset;
}
--
To view, visit https://gerrit.asterisk.org/746
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I625c3b50eee4576670b7eeb013c81ad043b4b4f8
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: certified/13.1
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
More information about the asterisk-code-review
mailing list