knsupdate: set freed pointer variable to NULL

Coverity scan #1019150

Change-Id: I09e97249299856612bec953eb79f33b978d23580