projects
/
external
/
libremix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4845596
)
[remix_stream] Memory Leak fix related to channel destroy
author
Rajeev Ranjan
<rajeev.r@samsung.com>
Mon, 6 May 2013 11:57:21 +0000
(17:27 +0530)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Thu, 27 Jun 2013 06:16:19 +0000
(15:16 +0900)
Change-Id: I730136b310f6a1e9ffbbafa5d5fd494b9de2baf8
src/libremix/remix_stream.c
patch
|
blob
|
history
diff --git
a/src/libremix/remix_stream.c
b/src/libremix/remix_stream.c
index
eab7b82
..
2ff9d22
100644
(file)
--- a/
src/libremix/remix_stream.c
+++ b/
src/libremix/remix_stream.c
@@
-155,7
+155,8
@@
remix_stream_destroy (RemixEnv * env, RemixBase * base)
return -1;
}
- cd_set_destroy_with (env, stream->channels, (CDDestroyFunc)remix_destroy);
+ // RemixChannel doesnot inherit RemixBase, so register its own destructor explicitly.
+ cd_set_destroy_with (env, stream->channels, (CDDestroyFunc)remix_channel_destroy);
remix_free (stream);
return 0;