kalantremahesh / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

simple memory leak bug. #334

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create stack and run
2.register with auth info
3.unref stack and exit app

What is the expected output? What do you see instead?
both tsip_stack_ctor and tsip_stack_dtor will be called.
bug only tsip_stack_ctor was called,tsip_stack_dtor won't at all.

What version of the product are you using? On what operating system?
svn version 1011,windows,client mode stack.

Please provide any additional information below.

my app call step:
1.create stack
2.start stack
3.register
4.task_object_safe_free(stack)
5.exit app

i did the step like tinyDemo did.but both my app and tinyDemo.seems wouldn't 
call tsip_stack_dtor at all.

tinyDemo step is:
1.++r
2.++reg
3.++stop
4.++exit

Original issue reported on code.google.com by q44072...@gmail.com on 25 Dec 2013 at 5:58

GoogleCodeExporter commented 9 years ago
oh btw.i the session of register,has been release.just stack won't release.

Original comment by q44072...@gmail.com on 25 Dec 2013 at 6:10

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 19 Mar 2014 at 5:20