diff --git a/src/misc/objects.c b/src/misc/objects.c
index e7f718142ec62b9e0f5b6b3f39ecc3ed07bf85cc..e03f32ae7045980dd8e4ec9dfe6eb38f08cb73ba 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -95,6 +95,7 @@ void *vlc_custom_create (vlc_object_t *parent, size_t length,
     }
     else
     {
+        obj->obj.logger = NULL;
         obj->obj.no_interact = false;
     }