[epiphany] ephy-password-manager: Really fix crash in query_async_data_free()



commit 2d522a926405cebb9870cb09ae7bb72ca27a3ad3
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Feb 24 10:53:22 2020 -0600

    ephy-password-manager: Really fix crash in query_async_data_free()
    
    Missed a spot.
    
    Fixes #1110

 lib/sync/ephy-password-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/sync/ephy-password-manager.c b/lib/sync/ephy-password-manager.c
index 51d03f3de..b03c3d7a2 100644
--- a/lib/sync/ephy-password-manager.c
+++ b/lib/sync/ephy-password-manager.c
@@ -97,7 +97,7 @@ query_async_data_new (EphyPasswordManagerQueryCallback callback,
 {
   QueryAsyncData *data;
 
-  data = g_new (QueryAsyncData, 1);
+  data = g_new0 (QueryAsyncData, 1);
   data->callback = callback;
   data->user_data = user_data;
 


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