Skip to content

LALMalloc.c: use free() to free 'p' pointer in XLALReallocAligned[Long]()

Description

  • p is always allocated with realloc() so should use free() to free it
  • fixes #71 (closed)

API Changes and Justification

Backwards Compatible Changes

  • This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions
  • This change adds new classes/functions/structs/types to a public C header file or Python module

Backwards Incompatible Changes

  • This change modifies an existing class/function/struct/type definition in a public C header file or Python module
  • This change removes an existing class/function/struct/type from a public C header file or Python module

Review Status

cc @jolien-creighton @duncanmmacleod @adam-mercer

Merge request reports

Loading