diff --git a/image/png.c b/image/png.c index 1c78d3006..11903cbd3 100644 --- a/image/png.c +++ b/image/png.c @@ -246,7 +246,6 @@ static nserror nspng_create_png_data(nspng_content *png_c) if (png_c->png == NULL) { msg_data.error = messages_get("NoMemory"); content_broadcast(&png_c->base, CONTENT_MSG_ERROR, msg_data); - warn_user("NoMemory", 0); return NSERROR_NOMEM; } @@ -258,7 +257,6 @@ static nserror nspng_create_png_data(nspng_content *png_c) msg_data.error = messages_get("NoMemory"); content_broadcast(&png_c->base, CONTENT_MSG_ERROR, msg_data); - warn_user("NoMemory", 0); return NSERROR_NOMEM; }