added try block to catch bad_alloc - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/canvas-window-cpp.h
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2010年09月01日 22:33:41 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2010年09月01日 22:33:41 +0200
commitc90c96810389377d6f89d6709bfdcf68ecf42e94 (patch)
tree2059462db8a3772d8ae35270981ad23ec304db92 /agg-plot/canvas-window-cpp.h
parent4806d8bdb82b3c6a221caa3d73d7541c5721a530 (diff)
downloadgsl-shell-c90c96810389377d6f89d6709bfdcf68ecf42e94.tar.gz
added try block to catch bad_alloc
Added try block in window draw routine by respecting the locks. Fixed unchecked memory allocation in XWindow put_image platform_support procedure. The code was tested with valgrind and ulimit on VM. The code still contain DEBUG code that should be eliminated.
Diffstat (limited to 'agg-plot/canvas-window-cpp.h')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月18日 11:13:29 +0000

AltStyle によって変換されたページ (->オリジナル) /