Am 11.09.2016 um 04:27 schrieb Michael Hughes: > In the man page it says that you need to do a free() after a > OW_get. Does this need to be done on each call to OW_get if you are > going to call OW_get again? > You have to free() each time because each time OW_get() does an malloc() internally.
(module/owlib/src/c/ow_get.c, copy_buffer(), line 58) Kind regards Jan ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers