Index: trunk/ippTools/src/pxalloc.c
===================================================================
--- trunk/ippTools/src/pxalloc.c	(revision 6110)
+++ trunk/ippTools/src/pxalloc.c	(revision 6136)
@@ -13,4 +13,7 @@
 {
     ppRawFrame *frame;
+
+    PS_ASSERT_PTR_NON_NULL(exposure, NULL);
+    PS_ASSERT_PTR_NON_NULL(images, NULL);
 
     frame = psAlloc(sizeof(ppRawFrame));
@@ -36,4 +39,7 @@
     p2PendingFrame *frame;
 
+    PS_ASSERT_PTR_NON_NULL(exposure, NULL);
+    PS_ASSERT_PTR_NON_NULL(images, NULL);
+
     frame = psAlloc(sizeof(p2PendingFrame));
     psMemSetDeallocator(frame, (psFreeFunc)p2PendingFrameFree);
@@ -57,4 +63,7 @@
 {
     p2DoneFrame *frame;
+
+    PS_ASSERT_PTR_NON_NULL(exposure, NULL);
+    PS_ASSERT_PTR_NON_NULL(images, NULL);
 
     frame = psAlloc(sizeof(p2DoneFrame));
