summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clifile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index b57cba501c..6ce884adf5 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -4227,6 +4227,7 @@ static bool parse_ea_blob(TALLOC_CTX *ctx, const uint8_t *rdata,
if (ea_size == 0) {
/* No EA's present. */
*pnum_eas = 0;
+ *pea_list = NULL;
return true;
}
@@ -4249,6 +4250,7 @@ static bool parse_ea_blob(TALLOC_CTX *ctx, const uint8_t *rdata,
if (num_eas == 0) {
*pnum_eas = 0;
+ *pea_list = NULL;
return true;
}