Files
flatbuffers/samples
xtrm0 54f8b787cb Fix memory leak on cpp object api (#5761)
Previously UnPack would allocate data with new and assign it to a
raw pointer. This behavior makes it possible for the pointer to be
leaked in case of OOM. This commit defaults to use the user specified
pointer (which needs to implement a move constructor, a .get() and a
 .release() operators), thus preventing these leaks.
2020-02-12 12:12:45 -08:00
..
2019-08-23 14:33:16 -07:00
2018-05-18 11:06:15 -07:00
2019-08-19 17:57:23 -07:00