Commit 03a64923 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

replace _emalloc with emalloc (is the same unless DMALLOC is used)

parent 3b23637b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ void feh_add_timer(void (*func) (void *data), void *data, double in, char *name)

	D(("adding timer %s for %f seconds time\n", name, in));
	feh_remove_timer(name);
	ft = malloc(sizeof(_fehtimer));
	ft = emalloc(sizeof(_fehtimer));
	ft->next = NULL;
	ft->func = func;
	ft->data = data;
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ char *estrjoin(const char *separator, ...)
			s = va_arg(args, char *);
		}
		va_end(args);
		string = _emalloc(sizeof(char) * (len + 1));
		string = emalloc(sizeof(char) * (len + 1));

		*string = 0;
		va_start(args, separator);