Add g_autoptr helper for pushing a thread default main context
authorAlexander Larsson <alexl@redhat.com>
Thu, 10 Sep 2020 09:00:35 +0000 (11:00 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 11 Sep 2020 10:03:28 +0000 (12:03 +0200)
commitc7df4317bd965006f7d98186b239b6c0618c6217
tree08b72b0e84848a7235124ab3273bc1df482ed323
parentf74bc8dd3dd099cb92cdf9c828c48848e0b96703
Add g_autoptr helper for pushing a thread default main context

This happens in a bunch of places, and currently each time it does
we have to use "goto out" style cleanups, which just isn't looking
very nice.
src/libotutil/otutil.h