Version: 6.0.4
Caught by LSan:
gnuplot> 7bytes
^
invalid command
gnuplot> +8bytes
^
invalid command
gnuplot> print and 24 more bytes
undefined variable: and
gnuplot>
=================================================================
ERROR: LeakSanitizer: detected memory leaks
Direct leak of 39 byte(s) in 3 object(s) allocated from:
#0 0x7f5c3dd2c0c1 in malloc (/usr/lib/libasan.so.8+0x12c0c1) (BuildId: 7f2845989b820f536270e19ec47df085ae89a675)
#1 0x7f5c3dc910ac (/usr/lib/libasan.so.8+0x910ac) (BuildId: 7f2845989b820f536270e19ec47df085ae89a675)
#2 0x561b8271e9b1 in command src/command.c:852
#3 0x561b8271d298 in step_through_line src/command.c:546
#4 0x561b8271c9d0 in do_line src/command.c:443
#5 0x561b8271c9ab in com_line src/command.c:431
#6 0x561b82867d6f in main src/plot.c:682
SUMMARY: AddressSanitizer: 39 byte(s) leaked in 3 allocation(s).
Version: 6.1 1fb8ac4
Leaks from
src/gnuplot -d <demo/fit.dem.Reduced repros: