producer_framebuffer.c: a little cleanup from last commit
[melted] / src / framework / mlt_repository.c
index bdadb28..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;
 }
@@ -266,7 +268,7 @@ mlt_properties mlt_repository_metadata( mlt_repository self, mlt_service_type ty
        return metadata;
 }
 
-static const char *getenv_locale()
+static char *getenv_locale()
 {
        char *s = getenv( "LANGUAGE" );
        if ( s && s[0] )