aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJesper Juhl <[email protected]>2012-03-07 19:09:34 +0000
committerAlasdair G Kergon <[email protected]>2012-03-07 19:09:34 +0000
commit902c6a96a7cb9c50d2a8aed1788efad0a5d8f04c (patch)
tree4f6f797bbaf2d5708d3e01269c1019bd9fb205b5 /net/lapb/lapb_timer.c
parent192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d (diff)
dm ioctl: do not leak argv if target message only contains whitespace
If 'argc' is zero we jump to the 'out:' label, but this leaks the (unused) memory that 'dm_split_args()' allocated for 'argv' if the string being split consisted entirely of whitespace. Jump to the 'out_argv:' label instead to free up that memory. Signed-off-by: Jesper Juhl <[email protected]> Cc: [email protected] Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions