Index: trunk/psphot/src/psphotSourceMatch.c
===================================================================
--- trunk/psphot/src/psphotSourceMatch.c	(revision 32633)
+++ trunk/psphot/src/psphotSourceMatch.c	(revision 32666)
@@ -70,5 +70,5 @@
     psVectorInit (foundSrc, 0);
 
-    psVector *foundObj = psVectorAlloc(sources->n, PS_TYPE_U8);
+    psVector *foundObj = psVectorAlloc(objects->n, PS_TYPE_U8);
     psVectorInit (foundObj, 0);
 
