Christophe CURIS
e828e1c074
Fix use-after-free error in wIconStore reported by Coverity
...
The function always returns the filename where the icon have been saved,
but in the case where the save operation failed we would free the memory
for that file name, yet still return this pointer like if it were valid.
Took opportunity to remove redundant free(path) which is done a couple
lines later, because redundancy is a source of problem for code
maintenance.
Signed-off-by: Christophe CURIS <christophe.curis@free.fr >
2021-05-18 17:49:17 +01:00
..
2020-04-09 09:05:50 +01:00
2019-08-06 11:04:05 +01:00
2020-04-09 14:28:09 +01:00
2015-08-23 22:08:30 +01:00
2015-08-25 15:42:06 +01:00
2012-06-18 22:25:57 +01:00
2015-05-08 18:53:29 +01:00
2010-10-08 18:13:56 +02:00
2016-01-17 22:54:49 -05:00
2010-10-08 18:13:56 +02:00
2015-05-15 17:44:50 +01:00
2010-10-08 18:13:56 +02:00
2013-05-12 01:01:20 +01:00
2012-06-25 23:49:10 +01:00
2016-07-12 23:21:00 +01:00
2013-05-26 19:48:00 +01:00
2010-09-11 17:32:57 +02:00
2020-09-13 16:56:09 +01:00
2014-11-02 13:04:14 +01:00
2020-03-25 10:08:17 +00:00
2013-06-16 19:32:23 +01:00
2020-04-09 14:28:09 +01:00
2015-04-18 23:29:37 +01:00
2019-06-19 18:06:53 +01:00
2012-06-23 12:09:41 +01:00
2020-09-13 16:56:09 +01:00
2013-06-30 15:10:09 +01:00
2010-09-11 17:32:57 +02:00
2014-12-10 10:19:19 +00:00
2014-05-19 21:37:26 +01:00
2013-06-10 22:34:59 +01:00
2013-05-10 19:37:47 +01:00
2010-10-08 18:13:56 +02:00
2021-05-18 17:49:17 +01:00
2015-08-23 22:08:30 +01:00
2018-12-16 10:13:50 +00:00
2017-03-10 10:20:58 +00:00
2013-06-16 19:32:23 +01:00
2021-05-18 17:49:17 +01:00
2020-04-18 19:49:26 +01:00
2020-04-09 09:05:50 +01:00
2017-03-10 10:20:58 +00:00
2015-05-08 18:53:30 +01:00
2015-05-08 18:53:29 +01:00
2013-05-26 19:48:00 +01:00
2019-08-06 11:04:05 +01:00
2010-10-08 18:13:56 +02:00
2020-04-18 19:49:26 +01:00
2015-05-08 18:53:29 +01:00
2020-10-19 20:38:29 +01:00
2015-05-08 18:53:29 +01:00
2015-06-13 08:40:50 -06:00
2013-05-26 19:48:00 +01:00
2013-10-12 15:18:06 +01:00
2013-10-12 15:18:06 +01:00
2019-08-06 11:04:05 +01:00
2016-01-17 22:54:49 -05:00
2013-09-30 00:53:10 +02:00
2012-04-04 19:44:40 +01:00
2013-06-16 19:32:23 +01:00
2013-06-16 19:32:23 +01:00
2021-05-18 17:49:17 +01:00
2020-09-13 16:56:09 +01:00
2021-05-07 18:03:19 +01:00
2020-04-09 09:05:50 +01:00
2016-01-17 22:54:49 -05:00
2014-11-02 13:04:14 +01:00
2013-10-11 21:58:13 +01:00
2013-05-10 19:37:47 +01:00
2020-04-09 09:05:50 +01:00
2012-11-19 00:12:46 +01:00
2016-01-17 22:54:49 -05:00
2013-05-26 19:48:00 +01:00
2014-07-27 09:45:03 -06:00
2013-04-12 02:14:10 +01:00
2020-04-09 09:05:50 +01:00
2013-05-26 19:48:00 +01:00
2021-05-18 17:49:17 +01:00
2013-05-02 20:41:07 +01:00
2014-11-23 22:43:38 +00:00
2013-06-16 19:32:23 +01:00
2016-01-17 22:54:49 -05:00
2010-10-08 18:13:56 +02:00
2020-04-09 14:28:09 +01:00
2013-09-30 00:53:10 +02:00
2013-03-21 10:01:04 +00:00
2018-02-14 08:16:55 +00:00
2011-02-17 19:29:15 +01:00
2020-08-10 12:15:01 +01:00
2020-04-09 09:05:50 +01:00
2020-09-13 16:56:09 +01:00
2017-02-08 07:26:35 +00:00
2013-05-26 19:48:00 +01:00
2020-04-09 09:05:50 +01:00
2013-05-12 01:01:20 +01:00
2021-03-18 16:08:40 +00:00
2014-08-29 12:43:50 +01:00
2017-02-25 10:19:52 +00:00
2014-12-10 10:19:18 +00:00
2015-05-08 18:53:30 +01:00
2014-12-10 10:19:18 +00:00
2015-04-18 23:29:37 +01:00
2014-08-15 01:08:23 +01:00
2020-04-18 19:49:26 +01:00
2017-02-08 07:26:35 +00:00
2015-01-20 21:29:24 +00:00
2014-11-02 12:50:02 +01:00
2016-01-17 22:54:49 -05:00
2013-05-10 19:37:47 +01:00