Geert Janssens
48b29f5e91
Fix memory leak in char* type KvpValue and fix improper uses
...
The core issue was that the delete visitor was never called because its parameter
type (char *) didn't match the boost::variant type (const char *).
Fixing the visitor's parameter type also require a const_cast
back to char * because that's what g_free takes as argument.
The rest of this commit is merely fixing KvpValue instantiations that
tried to create a char* KvpValue from a stack based const string instead
of a heap allocated one. That would bomb out on calling the
delete visitor.
2018-09-10 19:49:43 +02:00
..
2018-09-10 19:49:43 +02:00
2018-08-13 11:52:43 -07:00
2018-08-13 11:52:42 -07:00
2018-03-29 17:32:57 +01:00
2017-12-21 07:39:32 -05:00
2017-09-10 19:16:38 +02:00
2017-08-10 18:45:00 +02:00
2018-09-09 22:50:05 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2018-09-01 12:07:38 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-08-16 10:47:41 -07:00
2018-08-16 10:47:41 -07:00
2018-07-23 12:00:54 -07:00
2018-08-13 11:52:42 -07:00
2018-08-13 11:52:42 -07:00
2018-01-08 22:56:49 +11:00
2017-08-10 18:45:00 +02:00
2018-08-16 10:47:41 -07:00
2017-12-21 15:33:15 -08:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2018-09-10 19:49:43 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-09-09 22:50:05 +02:00
2018-01-08 13:01:29 +11:00
2018-03-15 18:12:03 +01:00
2018-01-25 10:24:53 +01:00
2018-08-13 16:19:39 -07:00
2018-08-13 16:19:39 -07:00
2018-08-13 16:19:39 -07:00
2018-05-28 08:56:01 -07:00
2018-02-24 11:12:13 -08:00
2018-06-07 17:38:04 -07:00
2017-12-21 07:39:32 -05:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2018-08-17 11:31:25 +01:00
2018-08-17 11:31:25 +01:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-12-21 07:39:32 -05:00
2018-03-09 16:28:00 -08:00
2017-08-10 18:45:00 +02:00
2018-03-09 16:28:00 -08:00
2017-12-21 15:33:15 -08:00
2018-08-13 11:52:42 -07:00
2018-08-13 11:52:42 -07:00
2018-08-13 11:52:42 -07:00
2017-08-10 18:45:00 +02:00
2018-04-03 22:02:44 -04:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2018-09-01 12:07:42 +02:00
2018-04-27 14:16:49 -07:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-08-13 11:52:42 -07:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-08-13 11:52:42 -07:00
2018-05-24 18:53:15 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2018-09-09 22:50:05 +02:00
2018-08-13 11:52:42 -07:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2018-08-12 16:12:19 -07:00
2018-04-26 23:06:36 +02:00
2017-08-10 18:45:00 +02:00
2018-09-09 22:50:05 +02:00
2018-08-13 11:52:42 -07:00
2017-08-10 18:45:00 +02:00
2018-08-13 11:52:42 -07:00
2018-08-13 11:52:42 -07:00
2017-08-10 18:45:00 +02:00
2018-05-25 01:56:14 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-03-06 09:48:38 -08:00
2017-08-10 18:45:00 +02:00
2018-03-06 09:48:38 -08:00
2017-09-15 21:51:50 +02:00
2017-08-10 18:45:00 +02:00
2018-08-12 16:12:19 -07:00
2018-08-12 16:12:19 -07:00
2017-12-21 07:39:33 -05:00
2018-07-23 12:00:54 -07:00
2017-08-10 18:45:00 +02:00
2018-09-10 19:49:43 +02:00
2018-09-10 19:49:43 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-12-21 07:39:32 -05:00
2018-01-26 18:26:06 +01:00
2017-12-21 07:39:32 -05:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-12-21 07:39:33 -05:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-09-10 19:49:43 +02:00
2018-09-09 22:50:05 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2018-08-13 11:52:43 -07:00
2018-08-13 11:52:43 -07:00
2017-08-10 18:45:00 +02:00
2018-04-22 13:55:36 -07:00
2018-02-19 15:25:53 +01:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-08-13 11:52:43 -07:00
2017-08-10 18:45:00 +02:00
2018-04-26 23:06:36 +02:00
2018-08-13 11:52:43 -07:00
2018-04-26 23:06:36 +02:00
2018-07-14 17:09:22 -07:00
2017-08-10 18:45:00 +02:00
2018-07-06 22:00:08 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2018-04-26 23:06:36 +02:00
2018-04-26 23:06:36 +02:00
2017-08-10 18:45:00 +02:00
2018-04-26 23:06:36 +02:00
2018-08-13 11:52:42 -07:00
2018-04-26 23:06:36 +02:00
2018-04-26 23:06:36 +02:00
2018-04-26 23:06:36 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2018-09-01 16:22:42 +02:00
2018-07-13 09:49:33 -07:00
2017-08-10 18:45:00 +02:00
2018-09-10 18:57:39 +02:00
2018-08-13 11:52:42 -07:00
2018-08-13 11:52:42 -07:00
2017-08-10 18:45:00 +02:00
2018-09-09 22:50:05 +02:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2018-09-10 10:24:49 +02:00
2018-09-09 22:50:05 +02:00
2018-09-09 22:50:05 +02:00
2018-08-13 11:52:42 -07:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00