summaryrefslogtreecommitdiff
path: root/src/helper/ioutil.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-28 10:42:51 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-28 13:00:39 -0800
commit8795b8f9df5ba1fd8466a04b515aa5f56c0c4015 (patch)
tree3266949da5d71d417b81ac2ae8a6219f342153eb /src/helper/ioutil.c
parent42e00bb379fe7591b6d74768a45855ed5cd0c24f (diff)
downloadopenocd+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/helper/ioutil.c')
0 files changed, 0 insertions, 0 deletions