1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-03 04:23:50 +03:00

r14430: ret can be NULL at the end of this loop

This commit is contained in:
Andrew Tridgell
2006-03-15 05:50:15 +00:00
committed by Gerald (Jerry) Carter
parent caead24b6d
commit b607be9cda

View File

@@ -193,7 +193,9 @@ static struct ldb_val **ldb_wildcard_decode(void *mem_ctx, const char *string)
val++; val++;
} }
ret[val] = NULL; if (ret != NULL) {
ret[val] = NULL;
}
return ret; return ret;
} }