X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fsparc-dis.c;h=c9667f172b40226905a9642508611e4701a75809;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=c825c863b2ec69d81afa37e214185941dde14e79;hpb=b3adc24a0713411ab38a21dc894dd40dbc5c8f4f;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/sparc-dis.c b/opcodes/sparc-dis.c index c825c863b2..c9667f172b 100644 --- a/opcodes/sparc-dis.c +++ b/opcodes/sparc-dis.c @@ -441,8 +441,7 @@ build_hash_table (const sparc_opcode **opcode_table, memset (hash_table, 0, HASH_SIZE * sizeof (hash_table[0])); memset (hash_count, 0, HASH_SIZE * sizeof (hash_count[0])); - if (hash_buf != NULL) - free (hash_buf); + free (hash_buf); hash_buf = xmalloc (sizeof (* hash_buf) * num_opcodes); for (i = num_opcodes - 1; i >= 0; --i) {