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 slogtreecommitdiff
path: root/gnu/packages/c.scm
AgeCommit message (Expand)Author
2021-01-02gnu: udunits: Omit static library....* gnu/packages/c.scm (udunits)[arguments]: Add ‘--disable-static’ to #:configure-flags. Tobias Geerinckx-Rice
2021-01-02gnu: udunits: Update to 2.2.28....* gnu/packages/c.scm (udunits): Update to 2.2.28. Tobias Geerinckx-Rice
2020-12-17gnu: Add aws-c-event-stream....* gnu/packages/c.scm (aws-c-event-stream): New variable. * gnu/packages/patches/aws-c-event-stream-cmake-prefix.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan
2020-12-17gnu: Add aws-checksums....* gnu/packages/c.scm (aws-checksums): New variable. * gnu/packages/patches/aws-checksums-cmake-prefix.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan
2020-12-17gnu: Add aws-c-common....* gnu/packages/c.scm (aws-c-common): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan
2020-11-26gnu: udunits: Add a note on versioning....* gnu/packages/c.scm (udunits): Add a comment about release numbering. Tobias Geerinckx-Rice
2020-11-16gnu: unifdef: Cross compile....* gnu/packages/c.scm (unifdef)[arguments]: Use cc-for-target in make-flags. Efraim Flashner
2020-11-08gnu: sparse: Update to 0.6.3....* gnu/packages/c.scm (sparse): Update to 0.6.3. Tobias Geerinckx-Rice
2020-10-13gnu: Add libwuya....* gnu/packages/c.scm (libwuya): New variable. Maxim Cournoyer
2020-10-06gnu: Fix up package copyright headers.Tobias Geerinckx-Rice