gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/lua-draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/lua-draw.cpp')
-rw-r--r--agg-plot/lua-draw.cpp 11
1 files changed, 1 insertions, 10 deletions
diff --git a/agg-plot/lua-draw.cpp b/agg-plot/lua-draw.cpp
index d533e745..ea1e8f61 100644
--- a/agg-plot/lua-draw.cpp
+++ b/agg-plot/lua-draw.cpp
@@ -182,16 +182,7 @@ agg_path_cmd (lua_State *L)
}
pthread_mutex_lock (agg_mutex);
- try
- {
- path_cmd (p, id, s);
- }
- catch (std::bad_alloc&)
- {
- pthread_mutex_unlock (agg_mutex);
- luaL_error (L, "out of memory");
- return 0;
- }
+ path_cmd (p, id, s);
pthread_mutex_unlock (agg_mutex);
return 0;
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年10月01日 02:35:58 +0000

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