Index: /trunk/psastro/src/psastroRefstarSubset.c
===================================================================
--- /trunk/psastro/src/psastroRefstarSubset.c	(revision 10789)
+++ /trunk/psastro/src/psastroRefstarSubset.c	(revision 10790)
@@ -24,5 +24,5 @@
   if (rawfunc == NULL) {
     psError(PSASTRO_ERR_DATA, false, "error measuring rawstar luminosity function\n");
-    return NULL;
+    return false;
   }
   psLogMsg ("psastro", 4, "measuring luminosity function for refstars\n");
@@ -30,11 +30,6 @@
   if (reffunc == NULL) {
     psError(PSASTRO_ERR_DATA, false, "error measuring refstar luminosity function\n");
-    return NULL;
+    return false;
   }
-
-  // XXXX test
-  // psFree (rawfunc);
-  // psFree (reffunc);
-  // return true;
 
   // what is the offset between the two lines at the average magnitude?
