diff options
Diffstat (limited to 'addressbook/backend')
-rw-r--r-- | addressbook/backend/pas/pas-backend-ldap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c index b8adccf7f1..9af0a8c1a4 100644 --- a/addressbook/backend/pas/pas-backend-ldap.c +++ b/addressbook/backend/pas/pas-backend-ldap.c @@ -448,12 +448,14 @@ get_ldap_library_info () info.ldapai_vendor_version % 1000); g_message ("extensions present:"); + /* yuck. we have to free these? */ for (i = 0; info.ldapai_extensions[i]; i++) { char *extension = info.ldapai_extensions[i]; g_message (extension); - /* yuck. we have to free this? */ ldap_memfree (extension); } + ldap_memfree (info.ldapai_extensions); + ldap_memfree (info.ldapai_vendor_name); } ldap_unbind_ext_s (ldap, NULL, NULL); |