diff options
author | Jeremy Allison <jra@samba.org> | 2004-12-20 21:14:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:42 -0500 |
commit | b46913fb95d59f3ec8e7e71da758cd16cda05f2c (patch) | |
tree | d76c481d3fc054023e3ea37ae4858016bce5636c /source3/client | |
parent | 84e0aafc78f9d91cde3a6b1c4a57d8ed3b6fd58c (diff) | |
download | samba-b46913fb95d59f3ec8e7e71da758cd16cda05f2c.tar.gz samba-b46913fb95d59f3ec8e7e71da758cd16cda05f2c.tar.bz2 samba-b46913fb95d59f3ec8e7e71da758cd16cda05f2c.zip |
r4291: More *alloc fixes inspired by Albert Chin (china@thewrittenword.com).
Jeremy
(This used to be commit efc1b688cf9b1a17f1a6bf46d481280ed8bd0c46)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/tree.c b/source3/client/tree.c index 97ad7742e3..5071c45dbc 100644 --- a/source3/client/tree.c +++ b/source3/client/tree.c @@ -129,7 +129,7 @@ char *get_path(GtkWidget *item) struct tree_data *make_tree_data(guint32 type, const char *name) { - struct tree_data *p = (struct tree_data *)malloc(sizeof(struct tree_data)); + struct tree_data *p = SMB_MALLOC_P(struct tree_data); if (p) { |