12fcec8 Replace dangling pointer workaround with a patch from upstream

Authored and Committed by adamwill a year ago
    Replace dangling pointer workaround with a patch from upstream
    
        
file modified
+5 -4