s3:modules: Fix realloc with zero sized ACLs
authorAlexander Werth <alexander.werth@de.ibm.com>
Tue, 29 Oct 2013 15:20:04 +0000 (16:20 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Wed, 30 Oct 2013 17:44:40 +0000 (18:44 +0100)
commita6bc2fd0d1df3746d7ae3d987765b346feee2bd8
tree3eaa4a1934edc48935a8302183bac88ded4926ae
parentd35ce088fe28745e81d2d3efee94f9d04242d2c2
s3:modules: Fix realloc with zero sized ACLs

A realloc with size zero is similar to a free.
Since we return the number of acls that's not an error.

Signed-off-by: Alexander Werth <alexander.werth@de.ibm.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
source3/modules/nfs4_acls.c