Hi all,
here's a small patch for smsc_cimd2.c
It's remove memory leak warning on exit.
smsc->sender_prefix is allocated in cimd2_open()
Dariusz Markowicz
RCS file: /home/cvs/gateway/gw/smsc/smsc_cimd2.c,v
retrieving revision 1.1
diff -u -r1.1 smsc_cimd2.c
--- gw/smsc/smsc_cimd2.c 8 Aug 2002 17:44:38 -0000 1.1
+++ gw/smsc/smsc_cimd2.c 11 Aug 2002 21:09:31 -0000
@@ -1797,6 +1797,7 @@
octstr_destroy(smsc->cimd2_username);
octstr_destroy(smsc->cimd2_password);
octstr_destroy(smsc->cimd2_inbuffer);
+ octstr_destroy(smsc->sender_prefix);
discarded = list_len(smsc->cimd2_received);
list_destroy(smsc->cimd2_received, msg_destroy_item);