]> git.sesse.net Git - vlc/blobdiff - src/stream_output/announce.c
misc/objects.c: Don't rely on vlc_object_destroy() to destroy objects, but expects...
[vlc] / src / stream_output / announce.c
index 4c183cce54b7f05d82e43b8f9fcdf36f2d5831a5..c1bb2daf65b40d215ee491634f575b56f80028f5 100644 (file)
@@ -187,7 +187,7 @@ int announce_HandlerDestroy( announce_handler_t *p_announce )
     }
 
     /* Free the structure */
-    vlc_object_destroy( p_announce );
+    vlc_object_release( p_announce );
 
     return VLC_SUCCESS;
 }