Fixes issue 47
This commit is contained in:
parent
5e503cbe64
commit
08778f3f2c
|
@ -132,7 +132,7 @@ scope_dispose( post_plugin_t *this )
|
|||
xine_post_t*
|
||||
scope_plugin_new( xine_t *xine, xine_audio_port_t *audio_target )
|
||||
{
|
||||
scope_plugin_t *scope_plugin = malloc( sizeof(scope_plugin_t) );
|
||||
scope_plugin_t *scope_plugin = calloc( 1, sizeof(scope_plugin_t) );
|
||||
post_plugin_t *post_plugin = (post_plugin_t*)scope_plugin;
|
||||
|
||||
{
|
||||
|
@ -161,7 +161,7 @@ scope_plugin_new( xine_t *xine, xine_audio_port_t *audio_target )
|
|||
post_plugin->xine = xine;
|
||||
|
||||
/* scope_plugin_t init */
|
||||
scope_plugin->list = malloc( sizeof(MyNode) );
|
||||
scope_plugin->list = calloc( 1, sizeof(MyNode) );
|
||||
scope_plugin->list->next = scope_plugin->list;
|
||||
|
||||
return &post_plugin->xine_post;
|
||||
|
|
Loading…
Reference in New Issue