diff options
author | Stephen J. Kiernan <stevek@FreeBSD.org> | 2017-05-31 21:31:15 +0000 |
---|---|---|
committer | Stephen J. Kiernan <stevek@FreeBSD.org> | 2017-05-31 21:31:15 +0000 |
commit | bbeb726b93c0bed9eccdbf401f810140809bb989 (patch) | |
tree | f2d141effb4e2bca0d3c746f0d8a671f9885dc07 /sys/sparc64/include/param.h | |
parent | 9a81ba0f241a477b92f3ae3b48429a04724459f2 (diff) | |
download | src-bbeb726b93c0bed9eccdbf401f810140809bb989.tar.gz src-bbeb726b93c0bed9eccdbf401f810140809bb989.zip |
parse.c parse_string
When parse_semi fails, free s before returning
parse.c parse_numeric_aggregate
The memory assigned to bufp is complicated, it can either be from the input
parameter buf or allocated locally. Introduce a new variable lbufp to track
when it is assigned locally and to free it when appropriate.
Submitted by: Thomas Rix <trix@juniper.net>
Reviewed by: jhb
Approved by: sjg (mentor)
Obtained from: Juniper Networks, Inc.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D9899
Notes
Notes:
svn path=/head/; revision=319361
Diffstat (limited to 'sys/sparc64/include/param.h')
0 files changed, 0 insertions, 0 deletions