[evolution] ECompEditor: Extract plain email address from backend property ][



commit 0bf9b8a5890e286f048cfba773aae0801fb08546
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 30 11:46:18 2020 +0100

    ECompEditor: Extract plain email address from backend property ][
    
    Fix a memory leak introduced in the previous commit.

 src/calendar/gui/e-comp-editor.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/calendar/gui/e-comp-editor.c b/src/calendar/gui/e-comp-editor.c
index 94eda02a05..6978bbb822 100644
--- a/src/calendar/gui/e-comp-editor.c
+++ b/src/calendar/gui/e-comp-editor.c
@@ -2953,6 +2953,7 @@ e_comp_editor_extract_email_address (const gchar *email_address)
        } else {
                address = g_strdup (email_address);
        }
+       g_object_unref (addr);
 
        return address;
 }


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