Comment 1 for bug 1974195

Revision history for this message
Galen Charlton (gmc) wrote :

A patch is available in user/gmcharlt/lp1974195_fix_flesh_fm_search_leak / https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmcharlt/lp1974195_fix_flesh_fm_search_leak

The patch simply removes the debug log entry in question, since under normal circumstances the fleshed response is immediately returned anyway. However, if folks feel strongly that it needs to stay in, somethi8ng like this would fix the leak:

char* debug_str = jsonObjectToJSON( cur );
osrfLogDebug( OSRF_LOG_MARK, "%s", debug_str );
free( debug_str );

Marking this as high priority since this has been observed to really chew through memory.