rem: if (dl->chunk && dl->chunk->source) OPN->source_status(OPN, dl->chunk->source, SOURCE_CANCELLED, "Cancelled");
context: void opn_download_free(OpnDownload *dl){	if (!dl)		return;	if (dl->con)		tcp_close(dl->con);	if (dl->chunk && dl->chunk->source)		OPN->source_status(OPN, dl->chunk->source,		                   SOURCE_CANCELLED, "Cancelled");	opn_url_free(dl->url);	free(dl);}