This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [fortran, patch] Fix memory leak in arith_power()
- From: Tobias Burnus <burnus at net-b dot de>
- To: FX <fxcoudert at gmail dot com>
- Cc: gfortran List <fortran at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 12 Mar 2011 21:05:48 +0100
- Subject: Re: [fortran, patch] Fix memory leak in arith_power()
- References: <D60CD2AE-FF68-493B-BE06-431A10BF24D4@gmail.com>
FX wrote:
While looking at the use of gfc_free() in the front-end when discussing its removal, I noticed one instance where gfc_free_expr() should be used instead. The patch that fixes it is:
OK. Thanks for the patch!
Tobias
2011-03-12 Francois-Xavier Coudert<fxcoudert@gcc.gnu.org>
* arith.c (arith_power): Plug memory leak.