Hi,
Why not? Same deal. After destroying it set its parent pointer to NULL.
octstr_destroy checks before freeing a NULL pointer. Of course you realize
that by intervening like that you are branching off cvs, and any subsequent
updates to the affected files will have to be merged.
BR,
Nikos
Hi,
First of all thanks.
Now I am able to destroy the octstr *respstr, By pointing it to NULL.
Actually I was storing a delivery report in Octstr *dlrstr(which is
identical to Octstr *respstr) for my customer requirement.
But I am not able to destry that.
Regards
Jyoti Ranjan Panda
-Origina
Hi,
If you want to destroy it anyway (personal reasons) remember to set the pdu
pointer to NULL. But why you want to do this is beyond me.
BR,
Nikos
- Original Message -
From: "Werner Coetzee"
To: "jyoti" ;
Sent: Tuesday, March 17, 2009 3:03 PM
Subject: RE: unable to destroy Octstr
Why do you want to destroy it?
It's only a pointer to the short_message or message_payload fields in the
received PDU,
which will be destroyed when the pdu is destroyed.
Regards
--
Werner Coetzee
* C Developer: Messaging Engine
* T +27 21 910 7700
* F +27 21 910 7701
werner.co
Can you provide the log of the PANIC?
My guess is you are trying to destroy a previously destroyed or
uninitialized Octstr *. But that's a wild guess :)
2009/3/17 jyoti
> Hi,
> I am not able to destroy Octstr *respstr defined in
> /gateway-1.4.3/gw/smsc/smsc.smpp.c/static Msg *handle_dlr funct
Hi,
I am not able to destroy Octstr *respstr defined in
/gateway-1.4.3/gw/smsc/smsc.smpp.c/static Msg *handle_dlr function.
As its a Octstr type I should be able to destroy the memory, but on trying
this I am geting PANIC.
regards
Jyoti Ranjan Panda
People, please read this:
http://www.kannel.org/lists.shtml
--
Alejandro Guerrieri
aguerri...@kannel.org
On 17/03/2009, at 10:34, wrote:
Unsubscribe
Unsubscribe
hi,
seems we somehow broke freebsd... I have to install freebsd in VM and
check it myself.
Thanks,
Alex
P.S. Which version of freebsd you use?
Am 16.03.2009 um 21:10 schrieb Nicolas de Bari Embriz Garcia Rojas:
black-list is now working in the core,
but when using it on group = smsbox
i