6b929c59fb
- Merge in a whole bunch of various fixes from upstream and add comments for the existing fixes which didn't have a comment in the patch. From Brad; OK sthen@
26 lines
778 B
Plaintext
26 lines
778 B
Plaintext
$OpenBSD: patch-src_xine-engine_info_helper_c,v 1.1 2011/05/11 09:05:55 dcoppa Exp $
|
|
|
|
Various small memory leaks in xine engine.
|
|
|
|
--- src/xine-engine/info_helper.c.orig Mon May 9 20:36:53 2011
|
|
+++ src/xine-engine/info_helper.c Mon May 9 20:38:25 2011
|
|
@@ -241,9 +241,6 @@ static void meta_info_set_unlocked_encoding(xine_strea
|
|
xprintf(stream->xine, XINE_VERBOSITY_LOG,
|
|
_("info_helper: unsupported conversion %s -> UTF-8, no conversion performed\n"), enc);
|
|
|
|
- if (system_enc)
|
|
- free(system_enc);
|
|
-
|
|
if (cd != (iconv_t)-1) {
|
|
char *utf8_value;
|
|
ICONV_CONST char *inbuf;
|
|
@@ -273,6 +270,8 @@ static void meta_info_set_unlocked_encoding(xine_strea
|
|
return;
|
|
}
|
|
}
|
|
+
|
|
+ free(system_enc);
|
|
}
|
|
#endif
|
|
|