Prevent possible memleak in regex
authorHerwin Weststrate <herwin@quarantainenet.nl>
Fri, 11 Sep 2015 07:28:39 +0000 (09:28 +0200)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 11 Sep 2015 13:00:02 +0000 (14:00 +0100)
commit561bbf8e20594d2d84f3643d6d1a538abee144f5
tree8aa421b5c100b77a21ec0d322ab3f8e3b741e86a
parent7bbd0381601df73cd8141485ae331eed5798f01c
Prevent possible memleak in regex

There was a very small chance that preg was allocated but not freed. This is kind of a sequel to PR #1207.
src/main/pair.c