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

[tor-commits] [vidalia/master] Fix double delete that caused a crash when changing to a wrong translation



commit 04c6e6fd1504a0c09effa7e3013063a7fba86c53
Author: Tomás Touceda <chiiph@xxxxxxxxxxxxxx>
Date:   Sun May 13 19:19:43 2012 -0300

    Fix double delete that caused a crash when changing to a wrong translation
---
 src/vidalia/Vidalia.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/vidalia/Vidalia.cpp b/src/vidalia/Vidalia.cpp
index 0252ada..aa9bca1 100644
--- a/src/vidalia/Vidalia.cpp
+++ b/src/vidalia/Vidalia.cpp
@@ -480,7 +480,6 @@ err:
     delete vidaliaQtTranslator;
   if (vidaliaTranslator)
     delete vidaliaTranslator;
-  delete vidaliaTranslator;
   return false;
 }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits