Fix crash on Windows when doing a LDAP search.
authorAndrej Kacian <ticho@claws-mail.org>
Sun, 28 Aug 2016 20:42:10 +0000 (22:42 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sun, 28 Aug 2016 20:42:10 +0000 (22:42 +0200)
src/ldapquery.c

index 72b5525..b729d94 100644 (file)
@@ -639,7 +639,7 @@ static GList *ldapqry_process_single_entry(
        if( ber != NULL ) {
                ber_free( ber, 0 );
        }
-       g_free( dnEntry );
+       ldap_memfree( dnEntry );
 
        return listReturn;
 }