[systemd-devel] [PATCH 0/4] looking at _cleanup_free_ usage

2014-06-13 Thread Andreas Henriksson
Hello all! I was recently bitten by a problem which I found the solution to in http://lists.freedesktop.org/archives/systemd-commits/2013-October/004421.html The second patch there made me curious to look at more occurances. I do not have prior experience with _cleanup_free_ but as I understand

Re: [systemd-devel] [PATCH 0/4] looking at _cleanup_free_ usage

2014-06-13 Thread Tom Gundersen
On Fri, Jun 13, 2014 at 6:48 PM, Andreas Henriksson andr...@fatal.se wrote: Hello all! Hi Andreas, I was recently bitten by a problem which I found the solution to in http://lists.freedesktop.org/archives/systemd-commits/2013-October/004421.html The second patch there made me curious to

Re: [systemd-devel] [PATCH 0/4] looking at _cleanup_free_ usage

2014-06-13 Thread Andreas Henriksson
Hello Tom Gundersen. Thanks for all your interesting feedback and your quick review! For anyone interested in following up with more work on the same topic here, I'll add that I have not looked at any files named test* or files under src/test/. I have also not looked at cases which did not

Re: [systemd-devel] [PATCH 0/4] looking at _cleanup_free_ usage

2014-06-13 Thread Thomas H.P. Andersen
On Fri, Jun 13, 2014 at 7:04 PM, Tom Gundersen t...@jklm.no wrote: On Fri, Jun 13, 2014 at 6:48 PM, Andreas Henriksson andr...@fatal.se wrote: Hello all! Hi Andreas, I was recently bitten by a problem which I found the solution to in