Skip to content
Commit 002ccda0 authored by Indu Bhagat's avatar Indu Bhagat
Browse files

gas: ginsn: remove unnecessary buffer allocation and free

A previous commit 80ec2354 fixed the memory leaks, but brought to light
that the code should ideally make consistent use of snprintf and not
allocate/free more buffers than necessary.

gas/
	* ginsn.c (ginsn_dst_print): Use snprintf consistently.
parent e63b1d59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment