summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_aio_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_aio_pthread.c b/source3/modules/vfs_aio_pthread.c
index aeacf2895e..e1cc492bb5 100644
--- a/source3/modules/vfs_aio_pthread.c
+++ b/source3/modules/vfs_aio_pthread.c
@@ -458,7 +458,7 @@ static void aio_pthread_handle_suspend_completion(struct event_context *event_ct
}
pjobid = talloc_array(NULL, int, 1);
- if (pjobid) {
+ if (pjobid == NULL) {
smb_panic("aio_pthread_handle_suspend_completion: no memory.");
}