[tracker/tracker-0.10] tracker-extract: Fix crash with certain versions of Qt



commit 5b79dfaa7db80dfaa4e3c4bfc40dd99bd73c4f65
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Apr 15 17:16:26 2011 +0200

    tracker-extract: Fix crash with certain versions of Qt

 src/tracker-extract/tracker-albumart-qt.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-albumart-qt.cpp b/src/tracker-extract/tracker-albumart-qt.cpp
index f64d301..43765ee 100644
--- a/src/tracker-extract/tracker-albumart-qt.cpp
+++ b/src/tracker-extract/tracker-albumart-qt.cpp
@@ -39,7 +39,7 @@ void
 tracker_albumart_plugin_init (void)
 {
 	int argc = 0;
-	char **argv = NULL;
+	char *argv[2] = { NULL, NULL };
 
 	app = new QApplication (argc, argv, QApplication::Tty);
 }



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