summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2024-03-19 08:02:54 +0000
committerGerrit Code Review <gerrit@review>2024-03-19 08:02:54 +0000
commite9b2ec427abf9f2945a7450f5a6be57fa7a95b00 (patch)
tree3dfec4d7de27d36d3af42c4021c0c715ccf3b114
parent668b803a02f2fe0f2b490b683951eccad7a71c50 (diff)
parente41751d115e289f70b147b42745c9e942cbc3aea (diff)
downloadglib-e9b2ec427abf9f2945a7450f5a6be57fa7a95b00.tar.gz
glib-e9b2ec427abf9f2945a7450f5a6be57fa7a95b00.tar.bz2
glib-e9b2ec427abf9f2945a7450f5a6be57fa7a95b00.zip
Merge "Fix g_autoptr_cleanup_gstring_free( ) argument to avoid of confliting arument name" into tizen
-rw-r--r--glib/glib-autocleanups.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/glib-autocleanups.h b/glib/glib-autocleanups.h
index 6adf23282..c6d14176e 100644
--- a/glib/glib-autocleanups.h
+++ b/glib/glib-autocleanups.h
@@ -31,10 +31,10 @@ g_autoptr_cleanup_generic_gfree (void *p)
}
static inline void
-g_autoptr_cleanup_gstring_free (GString *string)
+g_autoptr_cleanup_gstring_free (GString *__string__)
{
- if (string)
- g_string_free (string, TRUE);
+ if (__string__)
+ g_string_free (__string__, TRUE);
}
/* Ignore deprecations in case we refer to a type which was added in a more