Skip to content
  • Karl Wette's avatar
    LALDetChar: fix double-free in gsequence-wrapping code · 074f7d6b
    Karl Wette authored
    - Do not free LALGSequenceIter* from within XLALGSequenceNext(), as this
      interacts badly with SWIG's parent tracking for XLALGetGSeqSnglBurst().
      Instead XLALGSequenceNext() returns a boolean, indicating whether iteration
      should continue, and calling (C) code must free iterator themselves.
      (Python code will free the iterator automatically once it is no longer needed.)
    Original: 120eea010713db4010313d5b61585358f5f8804b
    074f7d6b