summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/notify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 7287210802..5c26cac219 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -65,6 +65,8 @@ static bool notify_marshall_changes(int num_changes,
int i;
UNISTR uni_name;
+ uni_name.buffer = NULL;
+
for (i=0; i<num_changes; i++) {
struct notify_change *c;
size_t namelen;