be63205 Save a copy of the IPA error message when parsing the JSON result

Authored and Committed by rcritten 3 years ago
1 file changed. 5 lines added. 2 lines removed.
    Save a copy of the IPA error message when parsing the JSON result
    
    json_decref() is freeing the parsed value so the error message was
    undefined.
    
    Issued discovered in https://pagure.io/freeipa/issue/8537
    
        
file modified
+5 -2