Hi, just coded little application using libsmbclient, but it ate a lot of memory. App is one of kind enumerating all the computers, files, workgroups, shares and so on on the network. Compiled samba latest with -g switch, used dmalloc library, figured out some leaks. Major are like: smbc_closedir doesnt frees "client connections", also server(srv struct)...unfreed smbc_file_table structure(allocated in smbc_init) when smbc_* nomore used...am i just missing something here? or there isnt simple way of freeing that memory ? cause i dont see any way to do it using routines specified in libsmbclient.h...
any thoughts ? thanx :)