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

* Fixed a bug in 'web/rdxport/import.cpp' that caused temporary files
	to be left behind after processing an Import web call.
This commit is contained in:
Fred Gleason 2017-04-11 09:18:52 -04:00
parent 0eda6b79fc
commit a0e4b92bbf
2 changed files with 5 additions and 0 deletions

View File

@ -15720,3 +15720,6 @@
* Added an rdauth(1) utility in 'utils/rdauth/'.
* Fixed a regression in 'lib/rdcart.cpp' that caused the 'Import'
web API call to fail with an 'unsupported format' error.
2017-04-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'web/rdxport/import.cpp' that caused temporary files
to be left behind after processing an Import web call.

View File

@ -233,6 +233,8 @@ void Xport::Import()
printf(" <CartNumber>%d</CartNumber>\r\n",cartnum);
printf(" <CutNumber>%d</CutNumber>\r\n",cutnum);
printf("</RDWebResult>\r\n");
unlink(filename);
rmdir(xport_post->tempDir());
exit(0);
}
XmlExit(RDAudioConvert::errorText(conv_err),resp_code,conv_err);