projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] 6in4: implement metric option
[openwrt.git]
/
package
/
libnl
/
patches
/
130-fix_minor_memleaks_on_exit.patch
diff --git
a/package/libnl/patches/130-fix_minor_memleaks_on_exit.patch
b/package/libnl/patches/130-fix_minor_memleaks_on_exit.patch
index 855a6ab3912e84837c14accfd0e2e71e9d95c930..5dc625d17a40214f2dd186d26820670985d2f1d4 100644
(file)
--- a/
package/libnl/patches/130-fix_minor_memleaks_on_exit.patch
+++ b/
package/libnl/patches/130-fix_minor_memleaks_on_exit.patch
@@
-10,11
+10,9
@@
Make valgrind happy ...
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
-diff --git a/lib/route/route_utils.c b/lib/route/route_utils.c
-index a12d169..1386cda 100644
--- a/lib/route/route_utils.c
+++ b/lib/route/route_utils.c
--- a/lib/route/route_utils.c
+++ b/lib/route/route_utils.c
-@@ -63,6 +63,11 @@ static void __init init_routing_table_na
mes(void)
+@@ -63,6 +63,11 @@ static void __init init_routing_table_na
add_routing_table_name(RT_TABLE_LOCAL, "local");
};
add_routing_table_name(RT_TABLE_LOCAL, "local");
};
@@
-26,7
+24,7
@@
index a12d169..1386cda 100644
int rtnl_route_read_table_names(const char *path)
{
__trans_list_clear(&table_names);
int rtnl_route_read_table_names(const char *path)
{
__trans_list_clear(&table_names);
-@@ -104,6 +109,11 @@ static void __init init_proto_names(void
)
+@@ -104,6 +109,11 @@ static void __init init_proto_names(void
add_proto_name(RTPROT_STATIC, "static");
};
add_proto_name(RTPROT_STATIC, "static");
};