* pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning.
This commit is contained in:
parent
8698edb8ae
commit
303af15742
|
@ -1,3 +1,7 @@
|
|||
2002-06-26 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning.
|
||||
|
||||
2002-06-26 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* dcrt0.cc (_dcrt0): Be more defensive when reserved block is used and
|
||||
|
|
|
@ -63,7 +63,8 @@ public:
|
|||
: fh (INVALID_HANDLE_VALUE), buf (NULL), lptr (NULL), eptr (NULL) {}
|
||||
virtual ~pwdgrp_read ()
|
||||
{
|
||||
close ();
|
||||
if (fh != INVALID_HANDLE_VALUE)
|
||||
CloseHandle (fh);
|
||||
if (buf)
|
||||
free (buf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue