diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-26 11:45:44 +0800 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@redhat.com> | 2010-04-26 11:46:17 +0800 |
| commit | d1a03a7d97f934a1f4cb8f23940403a4c9415ecd (patch) | |
| tree | f9ce7ef33e313378248d71ef621da6cb6b9357b4 /addressbook | |
| parent | ceebdc8d1c82f0bae755afdca50524fedda25d5d (diff) | |
| download | gsoc2013-evolution-d1a03a7d97f934a1f4cb8f23940403a4c9415ecd.tar gsoc2013-evolution-d1a03a7d97f934a1f4cb8f23940403a4c9415ecd.tar.gz gsoc2013-evolution-d1a03a7d97f934a1f4cb8f23940403a4c9415ecd.tar.bz2 gsoc2013-evolution-d1a03a7d97f934a1f4cb8f23940403a4c9415ecd.tar.lz gsoc2013-evolution-d1a03a7d97f934a1f4cb8f23940403a4c9415ecd.tar.xz gsoc2013-evolution-d1a03a7d97f934a1f4cb8f23940403a4c9415ecd.tar.zst gsoc2013-evolution-d1a03a7d97f934a1f4cb8f23940403a4c9415ecd.zip | |
Fix a potential crasher in e_contact_quick_add_email().
Diffstat (limited to 'addressbook')
| -rw-r--r-- | addressbook/gui/contact-editor/e-contact-quick-add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c index d10ceeac6f..6a8a5fd19d 100644 --- a/addressbook/gui/contact-editor/e-contact-quick-add.c +++ b/addressbook/gui/contact-editor/e-contact-quick-add.c @@ -606,7 +606,7 @@ e_contact_quick_add_email (const gchar *email, EContactQuickAddCallback cb, gpoi name = g_strndup (email, lt - email); addr = g_strndup (lt + 1, gt - lt - 1); } else { - addr = email; + addr = g_strdup (email); } e_contact_quick_add (name, addr, cb, closure); |
