git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d941255
)
Small documentation fixes from Metze
author
Alexander Bokovoy
<ab@samba.org>
Mon, 14 Jul 2003 15:03:19 +0000
(15:03 +0000)
committer
Alexander Bokovoy
<ab@samba.org>
Mon, 14 Jul 2003 15:03:19 +0000
(15:03 +0000)
docs/docbook/devdoc/vfs.xml
patch
|
blob
|
history
diff --git
a/docs/docbook/devdoc/vfs.xml
b/docs/docbook/devdoc/vfs.xml
index 04bebaba95e7a2fe0ba88acb43999f6721cb3b0a..966db9583ad020e91a82995c961b4c9e6acc1c41 100644
(file)
--- a/
docs/docbook/devdoc/vfs.xml
+++ b/
docs/docbook/devdoc/vfs.xml
@@
-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);
}