Index: trunk/ippTools/src/p2searchRawFrames.c
===================================================================
--- trunk/ippTools/src/p2searchRawFrames.c	(revision 6150)
+++ trunk/ippTools/src/p2searchRawFrames.c	(revision 6151)
@@ -8,11 +8,6 @@
     psMetadata *where = NULL;
    
-    if (config->camera_name || config->filter) {
-        where = psMetadataAlloc();
-    }
-
 //    psMetadataAddS32  (where, PS_LIST_TAIL, "TYPE",  0, "==", P2_TYPE_OBJECT);
 
-    config->camera_name = NULL;
     if (config->camera_name != NULL) {
         psMetadataAddStr(where, PS_LIST_TAIL, "camera", 0, "==",
