mlt_repository.c: bugfix memory leak on getting directory list of MLT_REPOSITORY.
[melted] / src / framework / mlt_repository.c
index 0644523..1d93d55 100644 (file)
@@ -95,6 +95,8 @@ mlt_repository mlt_repository_init( const char *directory )
                        fprintf( stderr, "%s, %s: failed to dlopen %s\n", __FILE__, __FUNCTION__, object_name );
                }
        }
+
+       mlt_properties_close( dir );
        
        return this;
 }