From bbd54510f0297afa2d1a81927db060cb0b791f14 Mon Sep 17 00:00:00 2001 From: Ralph Little Date: Sun, 1 Sep 2019 17:34:19 -0700 Subject: [PATCH] Apply opensuse upstream patch xsane_memory_leak Removes completely redundant memory allocation. --- src/xsane-batch-scan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/xsane-batch-scan.c b/src/xsane-batch-scan.c index 90cc0e0..e77caca 100644 --- a/src/xsane-batch-scan.c +++ b/src/xsane-batch-scan.c @@ -680,7 +680,6 @@ static GtkWidget *xsane_batch_scan_create_list_entry(Batch_Scan_Parameters *para GtkWidget *list_item; GtkWidget *hbox; int size = 120; - char *data; list_item = gtk_list_item_new(); @@ -688,8 +687,6 @@ static GtkWidget *xsane_batch_scan_create_list_entry(Batch_Scan_Parameters *para gtk_container_add(GTK_CONTAINER(list_item), hbox); gtk_widget_show(hbox); - data = calloc(size, size); - parameters->gtk_preview = gtk_preview_new(GTK_PREVIEW_COLOR); gtk_preview_size(GTK_PREVIEW(parameters->gtk_preview), size, size); gtk_box_pack_start(GTK_BOX(hbox), parameters->gtk_preview, FALSE, FALSE, 0); -- 2.22.0 c'>refslogtreecommitdiff
path: root/gnu/packages/ncdu.scm
AgeCommit message (Expand)Author
2023-04-27gnu: ncdu-1: Update to 1.18.1....* gnu/packages/ncdu.scm (ncdu-1): Update to 1.18.1. Efraim Flashner
2023-02-09gnu: ncdu: Update to 2.2.2....* gnu/packages/ncdu.scm (ncdu): Update to 2.2.2. [native-inputs]: Switch from zig-0.9 to zig-0.10. Efraim Flashner
2023-02-09gnu: zig: Update to 0.10.1....* gnu/packages/zig.scm (zig-0.10): New variable. (zig-0.9): Rename from zig. Inherit from zig-0.10. (zig): Define as zig-0.10. * gnu/packages/ncdu.scm (ncdu)[native-inputs]: Use zig-0.9. * gnu/packages/zig-xyz.scm (zig-zls)[inputs]: Use zig-0.9. Efraim Flashner
2022-12-11gnu: ncdu: Use upstream name....* gnu/packages/ncdu.scm (ncdu-1): New variable, renamed from… (ncdu): …this one, itself renamed from the old ncdu-2. Simple! [name]: Drop suffix. [properties]: Remove obsolete 'upstream-name. (ncdu-2): Redefine as a DEPRECATED-PACKAGE alias of ncdu. Tobias Geerinckx-Rice
2022-12-11gnu: ncdu2: Delete pregenerated man page from source....* gnu/packages/ncdu.scm (ncdu2)[source]: Add a snippet. [arguments]: Adjust 'build-manpage phase accordingly. Tobias Geerinckx-Rice
2022-12-11gnu: ncdu2: Do not use the illegal instructions....* gnu/packages/ncdu.scm (ncdu-2)[arguments]: Compile for a baseline CPU. Tobias Geerinckx-Rice
2022-12-15gnu: ncdu: Update to 1.18....* gnu/packages/ncdu.scm (ncdu): Update to 1.18. Efraim Flashner
2022-11-01gnu: ncdu-2: Update to 2.2.1....* gnu/packages/ncdu.scm (ncdu-2): Update to 2.2.1. Efraim Flashner
2022-10-18gnu: ncdu-2: Update to 2.2....* gnu/packages/ncdu.scm (ncdu-2): Update to 2.2. Efraim Flashner