8560649fed
- tidy up the package, spec file names, patch names, etc OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=22
12 lines
326 B
Diff
12 lines
326 B
Diff
--- ip/ipmaddr.c 2009-09-16 11:21:21.000000000 +0200
|
|
+++ ip/ipmaddr.c 2009-09-16 11:23:14.000000000 +0200
|
|
@@ -136,7 +136,7 @@
|
|
m.addr.bytelen = 4;
|
|
|
|
while (fgets(buf, sizeof(buf), fp)) {
|
|
- struct ma_info *ma = malloc(sizeof(m));
|
|
+ struct ma_info *ma;
|
|
|
|
if (buf[0] != '\t') {
|
|
sscanf(buf, "%d%s", &m.index, m.name);
|