Small documentation fixes from Metze
authorAlexander Bokovoy <ab@samba.org>
Mon, 14 Jul 2003 15:03:19 +0000 (15:03 +0000)
committerAlexander Bokovoy <ab@samba.org>
Mon, 14 Jul 2003 15:03:19 +0000 (15:03 +0000)
docs/docbook/devdoc/vfs.xml

index 04bebaba95e7a2fe0ba88acb43999f6721cb3b0a..966db9583ad020e91a82995c961b4c9e6acc1c41 100644 (file)
@@ -652,7 +652,7 @@ static void free_example_privates(void **datap)
        SAFE_FREE(data-&gt;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);
 }