Browse code

bb12113 - 0.101 - resolving htmlnorm fd leak; patch by aCaB

Mickey Sola authored on 2018/05/25 05:25:30
Showing 1 changed files
... ...
@@ -1818,7 +1818,7 @@ abort:
1818 1818
 	}
1819 1819
 	if(file_tmp_o1) {
1820 1820
 		html_output_flush(file_tmp_o1);
1821
-		if(file_buff_text && file_buff_text->fd != -1)
1821
+		if(file_tmp_o1 && file_tmp_o1->fd != -1)
1822 1822
 			close(file_tmp_o1->fd);
1823 1823
 		free(file_tmp_o1);
1824 1824
 	}