[gnome-contacts] ContactEditor: fixed memory corruption



commit f47a6164d572777bf3dfc21a19058eded3dfb909
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Sun Aug 10 00:04:39 2014 -0400

    ContactEditor: fixed memory corruption

 src/contacts-contact-editor.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-contact-editor.vala b/src/contacts-contact-editor.vala
index e50d862..56a65da 100644
--- a/src/contacts-contact-editor.vala
+++ b/src/contacts-contact-editor.vala
@@ -867,6 +867,8 @@ public class Contacts.ContactEditor : Grid {
     has_birthday_row = false;
     has_nickname_row = false;
     has_notes_row = false;
+
+    writable_personas.clear ();
   }
 
   public HashMap<string, PropertyData?> properties_changed () {


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