From 511c37eb60a4fd1cb507f21c12c9751093ce6335 Mon Sep 17 00:00:00 2001 From: ddennedy Date: Mon, 23 Jun 2008 01:25:24 +0000 Subject: [PATCH] mlt_repository.c: bugfix memory leak on getting directory list of MLT_REPOSITORY. git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1145 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/framework/mlt_repository.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/framework/mlt_repository.c b/src/framework/mlt_repository.c index 0644523..1d93d55 100644 --- a/src/framework/mlt_repository.c +++ b/src/framework/mlt_repository.c @@ -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; } -- 1.7.4.4