Lubomir I. Ivanov a32462c26b DownloadFromDCWidget: prevent possible leaks for log/dump files
If the 'logfile_name' and 'dumpfile_name' were NULL we can simply
strdup() them with a new value, but if there was a previous value
we need to free() first.

C99 6.7.8 allows us to keep said variables without the
explicit NULL initialiazation.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-01-08 05:53:26 +08:00
..
2013-11-29 12:11:12 -08:00
2013-12-04 15:49:55 -08:00
2013-12-26 08:42:20 -08:00
2013-12-20 09:53:04 -08:00
2013-10-15 04:37:31 -07:00
2014-01-03 10:30:09 -08:00
2013-11-30 12:01:32 -08:00