Copy from network:utilities/finger based on submit request 44340 from user pgajdos OBS-URL: https://build.opensuse.org/request/show/44340 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/finger?expand=0&rev=13
13 lines
324 B
Diff
13 lines
324 B
Diff
Index: finger-bsd-1.3/finger/util.c
|
|
===================================================================
|
|
--- finger-bsd-1.3.orig/finger/util.c
|
|
+++ finger-bsd-1.3/finger/util.c
|
|
@@ -440,5 +440,6 @@ vs (char *src)
|
|
wdst[i] = wstr[i];
|
|
}
|
|
|
|
- return wcstombs_alloc (wstr);
|
|
+ free(wstr);
|
|
+ return wcstombs_alloc (wdst);
|
|
}
|