1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Small documentation fixes from Metze

(This used to be commit 3f63bcb471)
This commit is contained in:
Alexander Bokovoy 2003-07-14 15:03:19 +00:00
parent 0b0fa60900
commit 4b28f274b6

View File

@ -652,7 +652,7 @@ static void free_example_privates(void **datap)
SAFE_FREE(data->some_string);
SAFE_FREE(data);
datap = NULL;
*datap = NULL;
return;
}
@ -683,7 +683,7 @@ static int example_connect(vfs_handle_struct *handle,
* we need to specify a free_function because we used malloc() and strdup().
* (return -1 if something failed.)
*/
SMB_VFS_HANDLE_SET_DATA(handle, data, NULL, struct example_privates, return -1);
SMB_VFS_HANDLE_SET_DATA(handle, data, free_example_privates, struct example_privates, return -1);
return SMB_VFS_NEXT_CONNECT(handle,conn,service,user);
}