1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +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++;
}
ret[val] = NULL;
if (ret != NULL) {
ret[val] = NULL;
}
return ret;
}