diff --git a/modules/printbackends/gtkprintbackendutils.c b/modules/printbackends/gtkprintbackendutils.c index b1c8023468..3755044d0b 100644 --- a/modules/printbackends/gtkprintbackendutils.c +++ b/modules/printbackends/gtkprintbackendutils.c @@ -19,7 +19,6 @@ #include -#include #include "gtkprintbackendutils.h" @@ -114,15 +113,13 @@ random_string (int n) "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789"; - char *str = g_new0 (char, n+1); - getrandom (str, n, 0); - for (int i=0; i