summaryrefslogtreecommitdiff
path: root/sys/src/cmd/resample.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-10-18 18:51:32 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-10-18 18:51:32 +0200
commit0a3eb7d6b1ef7e9ef569dcc8e73c98a8446b52fc (patch)
tree7ca0fb0f9b05813d698d8149a4f9d96c258be035 /sys/src/cmd/resample.c
parent3730a4df533c7508ccfa0382ad2661b0715f6487 (diff)
rio: copy window labels for menu3
as the menu is displayed, the window might go away or change its label causing menuhit() to dereference bad memory. just strdup() the labels before passing to menu3str to prevent accidents.
Diffstat (limited to 'sys/src/cmd/resample.c')
0 files changed, 0 insertions, 0 deletions