commit | 01a720125f5e2f0a23d2682b39dead2fcc820066 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Tue Jul 12 13:50:59 2016 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Fri Jul 22 11:33:24 2016 +0100 |
tree | 58ee4815121e6ce5db432d42adfe363873c6e298 | |
parent | e3643d32ee805d8a7b248526a507452c484a98e5 [diff] |
target-sh4: Use glib allocator in movcal helper Coverity spots that helper_movcal() calls malloc() but doesn't check for failure. Fix this by switching to the glib allocation functions, which abort on allocation failure. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1468327859-21385-1-git-send-email-peter.maydell@linaro.org Acked-by: Aurelien Jarno <aurelien@aurel32.net>