[folks] Don't deref a null PersonaStore in a failure case.



commit b5d1c361f342a859ef35442a3672f07d3ccde844
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Tue Sep 7 16:40:05 2010 -0700

    Don't deref a null PersonaStore in a failure case.
    
    Helps bgo#629008.

 folks/individual-aggregator.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/folks/individual-aggregator.vala b/folks/individual-aggregator.vala
index eaa3836..38fad6e 100644
--- a/folks/individual-aggregator.vala
+++ b/folks/individual-aggregator.vala
@@ -705,8 +705,8 @@ public class Folks.IndividualAggregator : Object
       if (store == null)
         {
           throw new IndividualAggregatorError.STORE_NOT_FOUND (
-              "no store known for type ID '%s' and ID '%s'", store.type_id,
-              store.id);
+              "no store known for type ID '%s' and ID '%s'", persona_store_type,
+              persona_store_id);
         }
 
       Persona persona = null;



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