MCPcopy Index your code
hub / github.com/MapServer/MapServer / msFreeOutputFormat

Function msFreeOutputFormat

mapoutput.c:419–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417/************************************************************************/
418
419void msFreeOutputFormat( outputFormatObj *format )
420
421{
422 if( format == NULL )
423 return;
424 if(MS_RENDERER_PLUGIN(format) && format->vtable) {
425 format->vtable->cleanup(MS_RENDERER_CACHE(format->vtable));
426 free( format->vtable );
427 }
428 msFree( format->name );
429 msFree( format->mimetype );
430 msFree( format->driver );
431 msFree( format->extension );
432 msFreeCharArray( format->formatoptions, format->numformatoptions );
433 msFree( format );
434}
435
436/************************************************************************/
437/* msAllocOutputFormat() */

Callers 7

msRemoveOutputFormatFunction · 0.85
msApplyOutputFormatFunction · 0.85
msCopyMapFunction · 0.85
msFreeImageFunction · 0.85
msFreeMapFunction · 0.85
msWriteErrorImageFunction · 0.85

Calls 2

msFreeFunction · 0.85
msFreeCharArrayFunction · 0.85

Tested by

no test coverage detected