diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/as-util.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/as-util.c b/client/as-util.c index f3f6a2c..87bd77f 100644 --- a/client/as-util.c +++ b/client/as-util.c @@ -1362,6 +1362,13 @@ as_util_search (AsUtilPrivate *priv, gchar **values, GError **error) g_print ("%s\n", xml->str); } + /* dump refcounted string debug data */ + if (g_getenv ("AS_REF_STR_DEBUG") != NULL) { + g_autofree gchar *tmp = as_ref_string_debug (AS_REF_STRING_DEBUG_DEDUPED | + AS_REF_STRING_DEBUG_DUPES); + g_print ("%s", tmp); + } + return TRUE; } |