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 | efc1b688cf9b1a17f1a6bf46d481280ed8bd0c46 (patch) | |
tree | 762442aa3a673b3b2d2400c2c5c4e2eaf8e99668 /source/client/tree.c | |
parent | ac8032bacff10451fa03f155d43f0d20389512fa (diff) | |
download | samba-efc1b688cf9b1a17f1a6bf46d481280ed8bd0c46.tar.gz samba-efc1b688cf9b1a17f1a6bf46d481280ed8bd0c46.tar.xz samba-efc1b688cf9b1a17f1a6bf46d481280ed8bd0c46.zip |
r4291: More *alloc fixes inspired by Albert Chin (china@thewrittenword.com).
Jeremy
Diffstat (limited to 'source/client/tree.c')
-rw-r--r-- | source/client/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/tree.c b/source/client/tree.c index 97ad7742e31..5071c45dbc9 100644 --- a/source/client/tree.c +++ b/source/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) { |