[PATCH] dlr.c

"Rene Kluwen" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
The octstr_destroy(dlr_type); in dlr.c is a bug. It shouldn't be there,
since dlr_type is either an immutable or a string got from cfg_get.

== Rene
dlr_bug.diff (application/octet-stream, 316 B)
Index: gw/dlr.c
===================================================================
--- gw/dlr.c	(revision 4833)
+++ gw/dlr.c	(working copy)
@@ -276,9 +276,6 @@
 
     /* get info from storage */
     info(0, "DLR using storage type: %s", handles->type);
-
-    /* cleanup */
-    octstr_destroy(dlr_type);
 }
 
 /*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.