diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-28 10:42:51 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-28 13:00:39 -0800 |
commit | 8795b8f9df5ba1fd8466a04b515aa5f56c0c4015 (patch) | |
tree | 3266949da5d71d417b81ac2ae8a6219f342153eb /src/jtag/commands.c | |
parent | 42e00bb379fe7591b6d74768a45855ed5cd0c24f (diff) | |
download | openocd_libswd-8795b8f9df5ba1fd8466a04b515aa5f56c0c4015.tar.gz openocd_libswd-8795b8f9df5ba1fd8466a04b515aa5f56c0c4015.tar.bz2 openocd_libswd-8795b8f9df5ba1fd8466a04b515aa5f56c0c4015.tar.xz openocd_libswd-8795b8f9df5ba1fd8466a04b515aa5f56c0c4015.zip |
add error checking in command_new
Adds checks for memory allocation failures. Started to use calloc()
instead of malloc()/memset(), but I got carried away. This kind of work
should be done throughout the tree, but it's almost hopeless at present.
Diffstat (limited to 'src/jtag/commands.c')
0 files changed, 0 insertions, 0 deletions