Hello, Eric. Yes, and i also answered with some explanation: > And, in general, I would recommend just freeing data after usage,> rather > than having a deinit function.
Looks like it may complicate a logic and code of test. Test may exit with any call to 'piglit_report_result' and it can happens on any stage of execution. In proposed mechanism we shouldn't care when and why exit is done, so we can be sure that all resources will be freed. But if it is not an argument - will update on this week like you have suggested. On Thu, Jan 3, 2019 at 8:42 PM Eric Anholt <e...@anholt.net> wrote: > Sergii Romantsov <sergii.romant...@gmail.com> writes: > > > Hello, > > is there any chance to get review? > > In the goal is idea to get a simple mechanism to control resources > freeing > > (any extra memory allocations, files etc.) of any piglit-test on the > exit. > > I gave some feedback, and I haven't seen a new version. >
_______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit