projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06011c7
)
Fix g_autoptr_cleanup_gstring_free( ) argument to avoid of confliting arument name
87/308187/1
author
JinWang An
<jinwang.an@samsung.com>
Tue, 19 Mar 2024 07:59:41 +0000
(16:59 +0900)
committer
JinWang An
<jinwang.an@samsung.com>
Tue, 19 Mar 2024 07:59:41 +0000
(16:59 +0900)
Change-Id: Ibf9a84caab0d9e27a51ee331936e64dc4171aeca
Signed-off-by: JinWang An <jinwang.an@samsung.com>
glib/glib-autocleanups.h
patch
|
blob
|
history
diff --git
a/glib/glib-autocleanups.h
b/glib/glib-autocleanups.h
index
6adf232
..
c6d1417
100644
(file)
--- 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