2024-04-11 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'RDTempDirectory' that failed to remove a temporary
	directory after use.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2024-04-11 15:09:02 -04:00
parent d8096ee2db
commit 6858a4751a
2 changed files with 4 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ RDFormPost::RDFormPost(RDFormPost::Encoding encoding,bool auto_delete)
if((s=read(0,first,1))<=0) {
post_error=RDFormPost::ErrorMalformedData;
delete post_tempdir;
return;
}
post_bytes_downloaded+=1;