Skip to content
  • Ben Wagner's avatar
    Fix wild frees and leak of fs in test-conf. · 5cd11d19
    Ben Wagner authored
    Reported by AddressSanitizer when running test-conf. The `query`,
    `result`, and `result_fs` were not initialized to NULL so could result
    in a wild free when first initialized.
    
    The `method` was also not initialized to NULL so comparisons could be
    made against random data if it had not yet been assigned.
    
    The outer `fs` was never destroyed, but is also not used, so remove.
    5cd11d19