[open-ils-commits] r20099 - branches/rel_1_6_1/Open-ILS/src/c-apps (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 15 10:01:44 EDT 2011
Author: miker
Date: 2011-04-15 10:01:42 -0400 (Fri, 15 Apr 2011)
New Revision: 20099
Modified:
branches/rel_1_6_1/Open-ILS/src/c-apps/oils_cstore.c
Log:
Backported version of r20094: Protect pcrud-ish retrieve from an empty result set
Modified: branches/rel_1_6_1/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- branches/rel_1_6_1/Open-ILS/src/c-apps/oils_cstore.c 2011-04-15 14:01:17 UTC (rev 20098)
+++ branches/rel_1_6_1/Open-ILS/src/c-apps/oils_cstore.c 2011-04-15 14:01:42 UTC (rev 20099)
@@ -1598,7 +1598,7 @@
jsonObjectFree( fake_params );
#ifdef PCRUD
- if(!verifyObjectPCRUD(ctx, obj)) {
+ if(NULL != obj && !verifyObjectPCRUD(ctx, obj)) {
jsonObjectFree(obj);
*err = -1;
More information about the open-ils-commits
mailing list