summaryrefslogtreecommitdiff
path: root/lib/libcurses/curs_bkgd.3
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-04-18 02:49:32 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-04-18 02:49:32 +0000
commitd9b9816271e58dc23c1e8998310d856783c8cf0c (patch)
treeb15f2b75142713a535bc1eaa320582d42262fdf6 /lib/libcurses/curs_bkgd.3
parentc5187000c71672b7aa0f0345b9545431b83b69d0 (diff)
Removes memory leaks when flags are called multiple times. This
is the easy way out. The code should be able to handle having pb.author, pb.description, and pb.symbol as const char * strings pointing to rcs_optarg values without using xstrdup at all. The code is a bit hairy so it's difficult to verify that it's done correctly, so that'll be a plan for another day. In the meantime, this works. OK joris@
Diffstat (limited to 'lib/libcurses/curs_bkgd.3')
0 files changed, 0 insertions, 0 deletions