Anatoly Burakov
198b66b946
mem: fix resource leak
...
Segment preallocation code allocates an array of structures on the
heap but does not free the memory afterwards. Fix it by freeing it
at the end of the function, and changing control flow to always go
through that code path.
Coverity issue: 323524
Fixes: 1dd342d0fdc4 ("mem: improve segment list preallocation")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-10-23 11:36:48 +02:00
..
2018-09-16 11:53:25 +02:00
2018-07-12 00:00:35 +02:00
2018-07-26 20:07:57 +02:00
2018-07-12 12:24:25 +02:00
2018-01-30 21:58:59 +01:00
2018-10-22 11:28:27 +02:00
2018-07-26 22:45:17 +02:00
2018-10-17 12:16:54 +02:00
2018-10-17 12:23:40 +02:00
2018-01-30 21:59:00 +01:00
2018-10-23 11:36:48 +02:00
2018-01-30 21:58:59 +01:00
2018-10-18 10:24:39 +02:00
2018-10-10 21:40:40 +02:00
2018-10-11 10:37:45 +02:00
2018-01-30 21:58:59 +01:00
2018-07-11 23:45:20 +02:00
2018-08-09 21:56:29 +02:00
2018-09-19 19:45:38 +02:00
2018-01-30 21:58:59 +01:00
2018-10-02 17:57:00 +02:00
2018-07-26 10:14:06 +02:00
2018-08-01 18:25:08 +02:00
2018-09-19 17:11:37 +02:00
2018-10-18 10:24:39 +02:00
2018-07-12 00:00:35 +02:00
2018-10-11 11:11:25 +02:00
2018-08-06 01:15:11 +02:00
2018-07-26 20:30:18 +02:00
2018-09-28 01:41:02 +02:00
2018-05-25 10:47:06 +02:00
2018-10-22 11:28:27 +02:00
2018-10-12 19:33:34 +02:00
2018-10-12 19:33:02 +02:00
2018-07-20 23:59:42 +02:00
2018-08-01 18:25:10 +02:00
2018-01-30 21:58:59 +01:00
2018-08-05 20:06:10 +02:00
2018-10-22 11:28:27 +02:00
2018-07-11 00:57:51 +02:00
2018-10-12 17:58:53 +02:00
2018-04-26 16:58:18 +02:00
2018-10-18 10:24:39 +02:00
2018-09-19 17:11:17 +02:00
2018-10-22 11:28:27 +02:00