newlib/doc/makedoc.c: Fix memory leak identified by Coverity.
This commit is contained in:
parent
59584ff16b
commit
609f5a51c6
|
@ -1278,7 +1278,8 @@ compile (char *string)
|
|||
}
|
||||
}
|
||||
|
||||
return(ret);
|
||||
free(word);
|
||||
return(ret);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue