aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/vo_macosx.m
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_macosx.m')
-rw-r--r--libvo/vo_macosx.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index ebcf3eb1e3..d0cde9b414 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -252,6 +252,11 @@ static void uninit(void)
[NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSDefaultRunLoopMode dequeue:YES];
[finalPool release];
}
+ if (!shared_buffer)
+ {
+ free(image_data);
+ image_data = NULL;
+ }
}
static int preinit(const char *arg)