Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149839583
D20472.id58238.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20472.id58238.diff
View Options
Index: head/contrib/elftoolchain/libelftc/elftc_string_table.c
===================================================================
--- head/contrib/elftoolchain/libelftc/elftc_string_table.c
+++ head/contrib/elftoolchain/libelftc/elftc_string_table.c
@@ -167,11 +167,9 @@
for (n = 0; n < st->st_nbuckets; n++)
SLIST_FOREACH_SAFE(s, &st->st_buckets[n], ste_next, t)
- free(s);
+ free(s);
free(st->st_string_pool);
free(st);
-
- return;
}
Elftc_String_Table *
@@ -318,7 +316,7 @@
if ((ste = malloc(sizeof(*ste))) == NULL)
return (0);
if ((ste->ste_idx = elftc_string_table_add_to_pool(st,
- string)) == 0) {
+ string)) == 0) {
free(ste);
return (0);
}
Index: head/contrib/elftoolchain/libelftc/elftc_string_table_create.3
===================================================================
--- head/contrib/elftoolchain/libelftc/elftc_string_table_create.3
+++ head/contrib/elftoolchain/libelftc/elftc_string_table_create.3
@@ -144,7 +144,7 @@
in the string table specified by argument
.Ar table ,
and if found, returns the offset associated with the string.
-The returned offset will be valid till the next call to function
+The returned offset will be valid until the next call to
.Fn elftc_string_table_image .
.Pp
Function
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 28, 12:16 PM (3 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30382643
Default Alt Text
D20472.id58238.diff (1 KB)
Attached To
Mode
D20472: libelftc: Minor cleanups.
Attached
Detach File
Event Timeline
Log In to Comment