Fix possible double free condition.
Fix possible double free condition.

twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc,twoporeguys/librpc