s3 vfs: Add a destructor to the fsp extension data API
[nivanova/samba-autobuild/.git] / source3 / modules / vfs_prealloc.c
index 5a339dbf8d4c4914271b2131227bea5adc392ad2..299f6548a15eaced7c33085e98c862e1b45b41e1 100644 (file)
@@ -164,7 +164,7 @@ static int prealloc_open(vfs_handle_struct* handle,
        if ((flags & O_CREAT) || (flags & O_TRUNC)) {
                SMB_OFF_T * psize;
 
-               psize = VFS_ADD_FSP_EXTENSION(handle, fsp, SMB_OFF_T);
+               psize = VFS_ADD_FSP_EXTENSION(handle, fsp, SMB_OFF_T, NULL);
                if (psize == NULL || *psize == -1) {
                        return fd;
                }