fix double-free of pmp3

This commit is contained in:
Ron Pedde 2005-03-20 06:04:16 +00:00
parent ed4b5609e1
commit c9d7a75774
1 changed files with 0 additions and 2 deletions

View File

@ -611,7 +611,6 @@ void dispatch_stream(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) {
ws_returnerror(pwsc,404,"Not found");
config_set_status(pwsc,pqi->session_id,NULL);
db_dispose_item(pmp3);
free(pmp3);
free(real_path);
} else {
if(pmp3->type)
@ -753,7 +752,6 @@ void dispatch_stream(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) {
config_set_status(pwsc,pqi->session_id,NULL);
r_close(file_fd);
db_dispose_item(pmp3);
free(pmp3);
}
}