[Opensrf-commits] r1069 - trunk/src/gateway
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Aug 2 22:21:42 EDT 2007
Author: miker
Date: 2007-08-02 22:19:32 -0400 (Thu, 02 Aug 2007)
New Revision: 1069
Modified:
trunk/src/gateway/osrf_json_gateway.c
Log:
arg ... left out one minor fix
Modified: trunk/src/gateway/osrf_json_gateway.c
===================================================================
--- trunk/src/gateway/osrf_json_gateway.c 2007-08-03 02:19:02 UTC (rev 1068)
+++ trunk/src/gateway/osrf_json_gateway.c 2007-08-03 02:19:32 UTC (rev 1069)
@@ -40,7 +40,8 @@
osrfStringArray* allowedServices = NULL;
static const char* osrf_json_gateway_set_default_locale(cmd_parms *parms, void *config, const char *arg) {
- osrf_json_default_locale = (char*) arg;
+ if (arg)
+ osrf_json_default_locale = (char*) arg;
return NULL;
}
@@ -418,7 +419,6 @@
}
osrfLogInfo(OSRF_LOG_MARK, "Completed processing service=%s, method=%s", service, method);
- free(osrf_locale);
string_array_destroy(params);
string_array_destroy(mparams);
More information about the opensrf-commits
mailing list