aboutsummaryrefslogtreecommitdiff
path: root/examples/rotation.c
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-02-24 23:55:48 +0100
committerMarkus Ongyerth <ongy@ongy.net>2018-02-24 23:55:48 +0100
commit8ab0073b49cbac51032c6a6ef0b2b38ca7f3b814 (patch)
tree068a72017921ca1dd27f9f09f01abf6268199f59 /examples/rotation.c
parent69409ea3cb3bfba52df9ff35a9b58f6f1b3dc25e (diff)
prevent screenshot from resuing template array
The template array given to mkstemp was declared static. This reused the memory, which caused mkstemp to fail if backingfile is run more than once, because the array no longer contained the template syntax (which is forced to end in XXXXXX) but the previous file name.
Diffstat (limited to 'examples/rotation.c')
0 files changed, 0 insertions, 0 deletions