diff options
author | Chris Toshok <toshok@ximian.com> | 2002-03-28 06:15:35 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-03-28 06:15:35 +0800 |
commit | 9db0356726d581c6a7a5c89af9e360ccfffa314a (patch) | |
tree | 91f7f010d9fdd9b8d004f35bb1dedb72d054955c /shell | |
parent | 5165918a9f49e4dd2e3f7d203035f8b29c2f9b05 (diff) | |
download | gsoc2013-evolution-9db0356726d581c6a7a5c89af9e360ccfffa314a.tar gsoc2013-evolution-9db0356726d581c6a7a5c89af9e360ccfffa314a.tar.gz gsoc2013-evolution-9db0356726d581c6a7a5c89af9e360ccfffa314a.tar.bz2 gsoc2013-evolution-9db0356726d581c6a7a5c89af9e360ccfffa314a.tar.lz gsoc2013-evolution-9db0356726d581c6a7a5c89af9e360ccfffa314a.tar.xz gsoc2013-evolution-9db0356726d581c6a7a5c89af9e360ccfffa314a.tar.zst gsoc2013-evolution-9db0356726d581c6a7a5c89af9e360ccfffa314a.zip |
make sure to call ldap_value_free (values);, and ldap_msgfree (resp).
2002-03-27 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (check_schema_support): make sure
to call ldap_value_free (values);, and ldap_msgfree (resp).
(get_ldap_library_info): don't ask me why, but it appears we have
to free each extension char*.
(query_ldap_root_dse): make sure to free values in the
subschemaSubentry code before overwriting it, and call
ldap_msgfree(resp) when we're all done.
(build_card_from_entry): don't leak the DN, ldap attributes, or
the berval the ldap_*_attribute calls use to step through the
attributes. the docs say this berval is freed when
ldap_next_attribute returns NULL, but if we don't free it it leaks
a substantial amount of memory.
(pas_backend_ldap_search): make sure to only allocate *op once,
and fix the g_warning since op isn't valid in its scope anymore.
svn path=/trunk/; revision=16262
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions