summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python/strdup.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-08-27 23:26:30 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-08-27 23:26:30 +0200
commit52a84514acca8c2afc7e33c6f3f7d95235cad75e (patch)
treeed426986a405b0ae0487976c7ddcc9442dcb0fc5 /sys/src/cmd/python/Python/strdup.c
parent244d2ee84b1367ee7eb60395f75a5cb9bc5616a6 (diff)
devmouse: fix openmode() handling
openmode() can raise error with invalid mode passed, but we already incremented the exclusive mouse refcount at that point! call openmode() early to avoid this.
Diffstat (limited to 'sys/src/cmd/python/Python/strdup.c')
0 files changed, 0 insertions, 0 deletions