return; /* Uho! */
vlc_gc_init (p_item, msg_Free);
+ p_item->psz_module = p_item->psz_msg = p_item->psz_header = NULL;
#if !defined(HAVE_VASPRINTF) || defined(__APPLE__) || defined(SYS_BEOS)
int i_size = strlen(psz_format) + INTF_MAX_MSG_SIZE;
if( p_this->i_flags & OBJECT_FLAGS_QUIET ||
(p_this->i_flags & OBJECT_FLAGS_NODBG && i_type == VLC_MSG_DBG) )
- return;
+ goto out;
#ifndef __GLIBC__
/* Expand %m to strerror(errno) - only once */
va_end( args );
fputs( "\n", stderr );
vlc_restorecancel (canc);
- return;
+ goto out;
}
i_header_size = 0;
}
vlc_cond_broadcast (&bank->wait);
vlc_mutex_unlock (&bank->lock);
+out:
+ msg_Release (p_item);
}
/*****************************************************************************