ecc3993 Ticket 10 - Use after free

Authored and Committed by William Brown 8 years ago
    Ticket 10 - Use after free
    
    Bug Description:  Coverity and ASAN detected use after frees related to the
    reuse of the pin object.
    
    Fix Description:  This corrects the behaviours that would cause the use
    after free to occur
    
    https://pagure.io/svrcore/issue/10
    
    Author: wibrown
    
    Review by: nhosoi (Thanks!)
    
        
file modified
+10 -10
file modified
+9 -0
file modified
+5 -3
file modified
+3 -2
file modified
+3 -1
file modified
+7 -0