ktime: Don't leak token list
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 31 Mar 2012 19:23:22 +0000 (15:23 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 9 Apr 2012 01:23:32 +0000 (18:23 -0700)
commit4dc40bade411ddc1a0cc85ee9e242307ea2c96b2
tree8bda233bea0a0246db7959a280ddd0367284c72d
parent63f7b0a2051b1c5cc20208b20b73c587f3d74b4f
ktime: Don't leak token list

ktime_ParsePeriodic generates a malloc'd token list when it parses
the time string passed to it. Make sure that we free this list before
exiting from the function.

Change-Id: I6edacc6504aeec06ede5b5ae36c22f69b0d6cea0
Reviewed-on: http://gerrit.openafs.org/7106
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/util/ktime.c