diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2025-02-07 15:30:59 +0000 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2025-02-10 13:47:58 +0000 |
| commit | 1e00ebfd8012061c1186fbf368b4216ac6e299c4 (patch) | |
| tree | 1f26b5e17d619fed622dab737cea15fcc47e76de /util/qemu-timer.c | |
| parent | ff6c3b1a16ac2ee570447660526eea531d748396 (diff) | |
| download | focaccia-qemu-1e00ebfd8012061c1186fbf368b4216ac6e299c4.tar.gz focaccia-qemu-1e00ebfd8012061c1186fbf368b4216ac6e299c4.zip | |
tests/qtest: simplify qtest_process_inbuf
Don't both creating a GString to temporarily hold our qtest command. Instead do a simpler g_strndup and use autofree to clean up afterwards. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250207153112.3939799-5-alex.bennee@linaro.org>
Diffstat (limited to 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions