On 19 August 2017 at 13:07, Gabrijel Erman <gabrijel.er...@gmail.com> wrote:
> Hi,
>
> I have a issue with owfs and can't figure out what to do. I created an
> raspberry pi 2 process that runs on startup and collects data from 1-wire
> network. What happened is that process just stops at some point. Scratching
> my head why and after a couple of days, figured out that my process "eats"
> more and more memory so looks like, in some point, it just terminates.
> ...
>                 while (!stop){
>                            OW_get("/",&buf,&s);
>                 }

I have never used this but looking at the docs for OW_get it says that
the function allocates memory for the result and the caller must free
the memory.

Colin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to