- fix a small memory leak (#397011)

This commit is contained in:
Martin Nagy 2008-05-21 13:51:06 +00:00
parent b95b5aea25
commit fe8522bbc1
2 changed files with 5 additions and 2 deletions

View File

@ -54,7 +54,7 @@
+void
+str_basename (struct mystr* d_str, const struct mystr* path)
+{
+ struct mystr tmp = INIT_MYSTR;
+ static struct mystr tmp;
+
+ str_copy (&tmp, path);
+ str_split_char_reverse(&tmp, d_str, '/');

View File

@ -3,7 +3,7 @@
Summary: Very Secure Ftp Daemon
Name: vsftpd
Version: 2.0.6
Release: 3%{?dist}
Release: 4%{?dist}
License: GPL
Group: System Environment/Daemons
URL: http://vsftpd.beasts.org/
@ -160,6 +160,9 @@ fi
%{_var}/ftp
%changelog
* Wed May 21 2008 Martin Nagy <mnagy@redhat.com> - 2.0.6-4
- fix a small memory leak (#397011)
* Mon Mar 31 2008 Martin Nagy <mnagy@redhat.com> - 2.0.6-3
- set option listen to default to YES