George Hilliard
a63cd8a87c
Fix mismatched malloc/delete leak, take 2 with cJSON_Delete
From the Valgrind report:
```
Mismatched free() / delete / delete []
at 0x4838EAB: operator delete(void*) (vg_replace_malloc.c:576)
by 0xBC5C87: std::default_delete<cJSON>::operator()(cJSON*) const (unique_ptr.h:81)
by 0xBC4ACA: std::unique_ptr<cJSON, std::default_delete<cJSON> >::~unique_ptr() (unique_ptr.h:274)
by 0xBBB755: (anonymous namespace)::getAliases(Glib::ustring const&) (dcp.cc:422)
by 0xBC1CCA: rtengine::DCPStore::init(Glib::ustring const&, bool) (dcp.cc:1846)
by 0xC3ED4F: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) [clone ._omp_fn.0] (init.cc:81)
by 0x89743FF: GOMP_parallel_sections (sections.c:158)
by 0xC3E906: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) (init.cc:52)
by 0x9CE10E: Options::load(bool) (options.cc:2358)
by 0x982CD6: main (main.cc:603)
Address 0xd62d700 is 0 bytes inside a block of size 64 alloc'd
at 0x483777F: malloc (vg_replace_malloc.c:299)
by 0xE97390: cJSON_New_Item (cJSON.c:205)
by 0xE98718: cJSON_ParseWithOpts (cJSON.c:1020)
by 0xE9886F: cJSON_Parse (cJSON.c:1083)
by 0xBBB4D3: (anonymous namespace)::getAliases(Glib::ustring const&) (dcp.cc:422)
by 0xBC1CCA: rtengine::DCPStore::init(Glib::ustring const&, bool) (dcp.cc:1846)
by 0xC3ED4F: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) [clone ._omp_fn.0] (init.cc:81)
by 0x89743FF: GOMP_parallel_sections (sections.c:158)
by 0xC3E906: rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) (init.cc:52)
by 0x9CE10E: Options::load(bool) (options.cc:2358)
by 0x982CD6: main (main.cc:603)
```
2018-11-07 12:11:43 -06:00
..
2018-08-06 23:59:07 +02:00
2018-03-24 19:42:08 -04:00
2018-06-29 13:45:13 +02:00
2018-10-03 15:07:24 +02:00
2018-10-11 13:41:41 +02:00
2018-09-27 14:13:04 +02:00
2018-06-08 13:55:15 +02:00
2018-06-07 20:48:53 +02:00
2018-10-23 15:54:07 +02:00
2018-03-11 18:13:04 +01:00
2018-04-06 23:19:40 +02:00
2018-04-06 23:19:40 +02:00
2018-07-31 13:14:14 -04:00
2018-07-31 13:14:14 -04:00
2018-05-14 00:57:55 +02:00
2018-11-01 15:18:11 +01:00
2018-07-05 23:32:46 +02:00
2018-10-10 10:02:06 +02:00
2018-07-31 13:14:14 -04:00
2018-04-06 23:19:40 +02:00
2018-01-23 16:05:31 +01:00
2018-10-30 19:36:37 +01:00
2018-10-30 19:36:37 +01:00
2018-11-07 12:11:43 -06:00
2018-02-07 09:34:19 +01:00
2018-03-24 19:42:08 -04:00
2018-10-23 15:54:07 +02:00
2018-08-26 20:46:14 +02:00
2018-11-01 15:18:11 +01:00
2018-05-23 23:49:11 +02:00
2018-10-21 22:55:56 +02:00
2018-02-14 14:07:18 -05:00
2018-08-18 15:11:54 +02:00
2018-02-09 21:25:39 +01:00
2018-10-23 19:52:40 +02:00
2018-04-14 01:11:01 +02:00
2018-04-14 01:11:01 +02:00
2018-08-22 14:57:07 +02:00
2018-04-03 12:22:32 +02:00
2018-02-14 14:07:18 -05:00
2018-10-09 20:32:40 +02:00
2018-06-03 16:22:34 +02:00
2018-02-14 14:07:18 -05:00
2018-03-09 14:51:28 +01:00
2018-10-12 20:53:12 +02:00
2018-03-21 18:03:27 +01:00
2018-07-05 23:32:46 +02:00
2018-03-17 22:54:48 +01:00
2018-06-14 11:31:06 +02:00
2018-06-07 22:11:37 +02:00
2018-10-31 17:53:47 +01:00
2018-10-18 08:53:02 +02:00
2018-01-23 16:05:31 +01:00
2018-06-14 18:05:47 +02:00
2018-08-13 14:18:59 +02:00
2018-09-06 10:39:35 +02:00
2018-06-25 00:43:11 +02:00
2018-06-25 00:43:11 +02:00
2018-07-13 18:13:35 +02:00
2018-08-30 21:32:26 +02:00
2018-05-10 22:13:06 +02:00
2018-05-10 22:13:06 +02:00
2018-08-30 21:32:26 +02:00
2018-08-30 21:32:26 +02:00
2018-11-02 03:07:07 -05:00
2018-11-02 03:07:07 -05:00
2018-08-30 21:32:26 +02:00
2018-08-31 13:01:27 +02:00
2018-10-15 23:13:57 +02:00
2018-10-15 22:48:37 +02:00
2018-05-10 22:13:06 +02:00
2018-11-02 03:07:07 -05:00
2018-11-01 15:18:11 +01:00
2018-10-24 15:40:21 +02:00
2018-11-01 15:18:11 +01:00
2018-11-01 15:18:11 +01:00
2018-01-23 16:05:31 +01:00
2018-09-18 13:09:58 +02:00
2018-10-27 15:25:38 +02:00
2018-09-06 10:39:35 +02:00
2018-11-01 13:34:10 +01:00
2018-01-25 21:27:10 +01:00
2018-08-15 19:27:37 +02:00
2018-10-03 23:41:30 +02:00
2018-10-23 21:10:01 +02:00
2018-07-24 17:00:54 +02:00
2018-04-11 11:03:07 +02:00
2018-05-14 00:57:55 +02:00
2018-09-17 23:46:36 +02:00
2018-02-23 18:47:41 +01:00
2018-01-23 16:05:31 +01:00
2018-10-09 20:32:40 +02:00
2018-02-15 19:41:15 +01:00
2018-03-11 11:48:20 +01:00
2018-03-10 22:56:45 +01:00
2018-03-20 14:26:55 +01:00
2018-10-26 14:43:36 +02:00
2018-06-25 01:07:02 +02:00
2018-04-14 23:24:28 +02:00
2018-11-01 15:18:11 +01:00
2018-11-01 15:18:11 +01:00
2018-03-09 00:35:37 +01:00
2018-10-09 20:32:40 +02:00
2018-06-07 18:01:37 +02:00
2018-07-07 16:09:37 +02:00
2018-08-12 00:01:51 +02:00
2018-10-24 15:40:21 +02:00
2018-11-02 03:07:07 -05:00
2018-06-27 22:34:53 +02:00
2018-04-14 23:24:28 +02:00
2018-04-17 17:22:22 +02:00
2018-10-03 15:07:24 +02:00
2018-10-23 19:52:40 +02:00
2018-10-21 20:21:43 +02:00
2018-10-25 16:46:11 +02:00
2018-10-24 15:40:21 +02:00
2018-10-09 20:32:40 +02:00
2018-11-02 03:07:07 -05:00
2018-11-02 03:07:07 -05:00
2018-11-01 15:18:11 +01:00
2018-10-31 15:02:53 +01:00
2018-07-26 01:48:20 +02:00
2018-02-23 18:47:41 +01:00
2018-11-01 15:18:11 +01:00
2018-01-14 22:34:38 +01:00
2018-03-05 21:10:15 +01:00
2018-05-17 12:00:05 +02:00
2018-11-02 03:07:07 -05:00
2018-10-10 17:08:36 +02:00
2018-05-19 17:28:20 +02:00
2018-05-19 00:19:06 +02:00
2018-10-30 13:45:44 +01:00
2018-06-25 23:50:34 +02:00