From 1cd187271cd0de87ddca277276c41fe1483b5152 Mon Sep 17 00:00:00 2001 From: Yusuke Nakamura Date: Sat, 25 Oct 2014 19:19:10 +0900 Subject: [PATCH] isom: Set NULL to the 'location' in lsmash_cleanup_data_reference(). --- core/isom.c | 2 +- lsmash.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/isom.c b/core/isom.c index 6197524..79f101a 100644 --- a/core/isom.c +++ b/core/isom.c @@ -1819,7 +1819,7 @@ void lsmash_cleanup_data_reference { if( !data_ref ) return; - lsmash_free( data_ref->location ); + lsmash_freep( &data_ref->location ); } int lsmash_create_data_reference diff --git a/lsmash.h b/lsmash.h index a6a1871..b01e083 100644 --- a/lsmash.h +++ b/lsmash.h @@ -35,7 +35,7 @@ ****************************************************************************/ #define LSMASH_VERSION_MAJOR 2 #define LSMASH_VERSION_MINOR 1 -#define LSMASH_VERSION_MICRO 4 +#define LSMASH_VERSION_MICRO 5 #define LSMASH_VERSION_INT( a, b, c ) (((a) << 16) | ((b) << 8) | (c)) -- 2.11.4.GIT