Re: [PATCH] mem leak bb_smscconn
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wapme Systems AG |
| Message-ID | <[email protected]> |
Nisan Bloch wrote:
>
> Hi
>
> another small mem leak
>
> --- cvs/gw/bb_smscconn.c Thu Nov 28 13:22:30 2002
> +++ cvsup/gw/bb_smscconn.c Mon Dec 2 23:36:32 2002
> @@ -423,7 +423,7 @@
> {
> CfgGroup *grp;
> SMSCConn *conn;
> - Octstr *smscid;
> + Octstr *smscid = NULL;
> int i;
>
> /* find the specific smsc via id */
> @@ -466,6 +466,7 @@
> list_append(smsc_list, conn);
>
> smscconn_start(conn);
> + octstr_destroy(smscid);
>
> if (router_thread >= 0)
> gwthread_wakeup(router_thread);
yep, +1, commited to cvs.
Stipe
[email protected]
-------------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 Düsseldorf
Tel: +49-211-74845-0
Fax: +49-211-74845-299
E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are