[sr-dev] git:master:e0adeaa2: lib/ims: free before return on not finding the token