]> git.sesse.net Git - vlc/blobdiff - src/misc/probe.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / src / misc / probe.c
index c3de3a47f8d6b68aaaf60df74e68292cdb1323aa..fe44aa7c4c40bbfd5ccd61e34d500da402fa3fe9 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <vlc_common.h>
 #include <vlc_probe.h>
+#include <vlc_modules.h>
 #include "libvlc.h"
 
 #undef vlc_probe
@@ -37,6 +38,7 @@ void *vlc_probe (vlc_object_t *obj,
         *pcount = 0;
         return NULL;
     }
+    vlc_object_attach (probe, obj);
     probe->list = NULL;
     probe->count = 0;