[PATCH] memory leak sqlbox
"Rene Kluwen" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
I wonder if people are using sqlbox (inserting messages in send_sms) for large volumes. I think that there is/was a memory leak. Attached patch fixes it. Or do I see things wrong here? == Rene
memory_leak_sqlbox.patch
(application/octet-stream, 308 B)
Index: gw/sqlbox.c
===================================================================
--- gw/sqlbox.c (revision 46)
+++ gw/sqlbox.c (working copy)
@@ -599,6 +599,7 @@
else {
gwthread_sleep(SLEEP_BETWEEN_SELECTS);
}
+ msg_destroy(msg);
}
boxc_destroy(boxc);
smime.p7s
(application/x-pkcs7-signature, 6.2 KB) - not displayed