[open-ils-commits] r8549 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 31 14:24:17 EST 2008
Author: miker
Date: 2008-01-31 13:56:38 -0500 (Thu, 31 Jan 2008)
New Revision: 8549
Modified:
trunk/Open-ILS/src/c-apps/oils_idl-core.c
Log:
Patch from Scott Mckellar to plug a few leaks
Modified: trunk/Open-ILS/src/c-apps/oils_idl-core.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_idl-core.c 2008-01-31 18:34:42 UTC (rev 8548)
+++ trunk/Open-ILS/src/c-apps/oils_idl-core.c 2008-01-31 18:56:38 UTC (rev 8549)
@@ -87,6 +87,7 @@
osrfStringArrayAdd(controller, strdup(_controller_class));
}
}
+ free(controller_list);
}
osrfHashSet( usrData, controller, "controller");
@@ -245,6 +246,7 @@
osrfStringArrayAdd(map, strdup(_map_class));
}
}
+ free(map_list);
}
osrfHashSet( _tmp, map, "map");
@@ -283,11 +285,11 @@
}
_cur = _cur->next;
- }
+ } // end while
}
kid = kid->next;
- }
+ } // end while
osrfLogInfo(OSRF_LOG_MARK, "...IDL XML parsed");
More information about the open-ils-commits
mailing list