[epiphany/mcatanzaro/#1101: 9/10] password-manager: fix leak of async data struct



commit 1bcc0fa8e26448a95120e8652a2d686ceed51820
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Feb 17 13:27:23 2020 -0600

    password-manager: fix leak of async data struct
    
    Fixes #1101

 lib/sync/ephy-password-manager.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/lib/sync/ephy-password-manager.c b/lib/sync/ephy-password-manager.c
index d7028dd26..47767f5c8 100644
--- a/lib/sync/ephy-password-manager.c
+++ b/lib/sync/ephy-password-manager.c
@@ -632,6 +632,7 @@ secret_password_search_cb (GObject        *source_object,
     }
     if (data->callback)
       data->callback (NULL, data->user_data);
+    query_async_data_free (data);
     return;
   }
 


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