[easytag] Fix double free in CDDB dialog error path



commit 9e312fa308724050b2945c1f993e7375bb72aafa
Author: David King <amigadave amigadave com>
Date:   Thu Dec 18 16:59:39 2014 +0000

    Fix double free in CDDB dialog error path

 src/cddb_dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/cddb_dialog.c b/src/cddb_dialog.c
index a09e071..4c5bd19 100644
--- a/src/cddb_dialog.c
+++ b/src/cddb_dialog.c
@@ -3579,6 +3579,7 @@ et_cddb_dialog_search_from_selection (EtCDDBDialog *self)
                     && strstr (cddb_out_tmp, CDDB_END_STR) != NULL)
                 {
                     g_free (cddb_out);
+                    cddb_out = NULL;
                     break;
                 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]