directly call malloc() or free().
--HG--
branch : 1.7
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif /* HAVE_STRINGS_H */
-#if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
-# include <malloc.h>
-#endif /* HAVE_MALLOC_H && !STDC_HEADERS */
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif /* HAVE_UNISTD_H */
}
}
- free(ldap_conf.host);
+ efree(ldap_conf.host);
ldap_conf.host = estrdup(hostbuf);
return;
ldap_conf.ssl_mode = SUDO_LDAP_SSL;
}
- free(ldap_conf.host);
+ efree(ldap_conf.host);
ldap_conf.host = estrdup(hostbuf);
efree(buf);
} while ((uri_list = uri_list->next));