diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-01-09 19:23:42 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2012-01-10 09:36:43 +0100 |
commit | 520a02f8b844152929817b686113aed27229d3a9 (patch) | |
tree | 1097f88a17859c30e1aea881437edc5ddbf25368 /VERSION | |
parent | cd9244e48a6643752fccecd344d85d1c4de5cbad (diff) |
cris-dis: Clean memory allocation
The old code used sizeof(const struct cris_opcode **) where it should
have used sizeof(const struct cris_opcode *). As both sizes give the
same value, the resulting binary was ok, but static code analyzers
like coverity and clang complained.
This is fixed here, and the code is also simplified by using g_new0.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions