diff options
Diffstat (limited to 'src/plugins/fs/download.c')
-rw-r--r-- | src/plugins/fs/download.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c index ab03525a..9e09571f 100644 --- a/src/plugins/fs/download.c +++ b/src/plugins/fs/download.c | |||
@@ -534,7 +534,6 @@ void fs_download_start() { | |||
534 | void fs_download_stop() { | 534 | void fs_download_stop() { |
535 | GtkTreeIter iter; | 535 | GtkTreeIter iter; |
536 | struct ECRS_URI * u; | 536 | struct ECRS_URI * u; |
537 | struct ECRS_MetaData * m; | ||
538 | DownloadList * pos; | 537 | DownloadList * pos; |
539 | 538 | ||
540 | /* free URIs in summary model */ | 539 | /* free URIs in summary model */ |
@@ -559,26 +558,6 @@ void fs_download_stop() { | |||
559 | ECRS_freeUri(head->uri); | 558 | ECRS_freeUri(head->uri); |
560 | FREE(head->filename); | 559 | FREE(head->filename); |
561 | gtk_tree_row_reference_free(head->rr); | 560 | gtk_tree_row_reference_free(head->rr); |
562 | if (gtk_tree_model_get_iter_first(head->model, | ||
563 | &iter)) { | ||
564 | do { | ||
565 | gtk_tree_model_get(head->model, | ||
566 | &iter, | ||
567 | SEARCH_URI, &u, | ||
568 | SEARCH_META, &m, | ||
569 | -1); | ||
570 | gtk_tree_store_set(GTK_TREE_STORE(head->model), | ||
571 | &iter, | ||
572 | SEARCH_URI, NULL, | ||
573 | SEARCH_META, NULL, | ||
574 | -1); | ||
575 | if (u != NULL) | ||
576 | ECRS_freeUri(u); | ||
577 | if (m != NULL) | ||
578 | ECRS_freeMetaData(m); | ||
579 | } while (gtk_tree_model_iter_next(head->model, | ||
580 | &iter)); | ||
581 | } | ||
582 | FREE(head); | 561 | FREE(head); |
583 | head = pos; | 562 | head = pos; |
584 | } | 563 | } |