From 88e25b1e6d8a0e3672ba8d5bae5c1df768c35bc8 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 11 Dec 2020 18:11:38 +0100 Subject: Revert "qstring: add qstring_free()" This reverts commit 164c374b75f87c6765a705c4418ab7005a2d356f. A free function for a reference-counted object is in bad taste. Fortunately, this one is now also unused. Drop it. Signed-off-by: Markus Armbruster Message-Id: <20201211171152.146877-7-armbru@redhat.com> --- include/qapi/qmp/qstring.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/qapi') diff --git a/include/qapi/qmp/qstring.h b/include/qapi/qmp/qstring.h index ae7698d..ae5b4b4 100644 --- a/include/qapi/qmp/qstring.h +++ b/include/qapi/qmp/qstring.h @@ -34,7 +34,6 @@ void qstring_append_int(QString *qstring, int64_t value); void qstring_append(QString *qstring, const char *str); void qstring_append_chr(QString *qstring, int c); bool qstring_is_equal(const QObject *x, const QObject *y); -char *qstring_free(QString *qstring, bool return_str); void qstring_destroy_obj(QObject *obj); #endif /* QSTRING_H */ -- cgit v1.1