Displaying 2 results from an estimated 2 matches for "4cf348a".
2007 Apr 02
0
4 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...) {
+ player = swfdec_player_new_from_file (argv[1]);
+ if (!swfdec_player_is_initialized (player)) {
g_printerr ("Error parsing file \"%s\"\n", argv[1]);
g_object_unref (player);
player = NULL;
diff --git a/test/sound/sound.c b/test/sound/sound.c
index f42149f..4cf348a 100644
--- a/test/sound/sound.c
+++ b/test/sound/sound.c
@@ -184,6 +184,7 @@ run_test (const char *filename)
dir = g_dir_open (dirname, 0, &error);
if (!dir) {
g_print (" ERROR: %s\n", error->message);
+ g_error_free (error);
return FALSE;
}
while ((name =...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...) {
+ player = swfdec_player_new_from_file (argv[1]);
+ if (!swfdec_player_is_initialized (player)) {
g_printerr ("Error parsing file \"%s\"\n", argv[1]);
g_object_unref (player);
player = NULL;
diff --git a/test/sound/sound.c b/test/sound/sound.c
index f42149f..4cf348a 100644
--- a/test/sound/sound.c
+++ b/test/sound/sound.c
@@ -184,6 +184,7 @@ run_test (const char *filename)
dir = g_dir_open (dirname, 0, &error);
if (!dir) {
g_print (" ERROR: %s\n", error->message);
+ g_error_free (error);
return FALSE;
}
while ((name =...