[ 1174000 ] Miscellanous fixes (omitting the speedup for flash.c, obsoleted by an earlier patch)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@703 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Kolja Waschk 17 years ago
parent 54be85ecab
commit a9b63dafe9

@ -45,6 +45,8 @@ register_alloc( int len )
return NULL;
}
memset(tr->data, 0, len);
tr->string = malloc( len + 1 );
if (!tr->string) {
free( tr->data );

Loading…
Cancel
Save