aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_thread.c
diff options
context:
space:
mode:
authorStephen J. Kiernan <stevek@FreeBSD.org>2017-05-31 21:31:15 +0000
committerStephen J. Kiernan <stevek@FreeBSD.org>2017-05-31 21:31:15 +0000
commitbbeb726b93c0bed9eccdbf401f810140809bb989 (patch)
treef2d141effb4e2bca0d3c746f0d8a671f9885dc07 /sys/ddb/db_thread.c
parent9a81ba0f241a477b92f3ae3b48429a04724459f2 (diff)
downloadsrc-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/ddb/db_thread.c')
0 files changed, 0 insertions, 0 deletions