From f6c2e4d292743b04384078671eb9971bd7b424ce Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 19 Dec 2022 03:17:09 +0100 Subject: [PATCH] Don't rely on ENOSPC - relies on errno.h --- tasks/task_patch.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tasks/task_patch.c b/tasks/task_patch.c index 04c6a0998b..f074b2f03b 100644 --- a/tasks/task_patch.c +++ b/tasks/task_patch.c @@ -710,10 +710,6 @@ static enum patch_error xdelta_apply_patch( { case 0: /* Success */ break; - case ENOSPC: - error_patch = PATCH_TARGET_ALLOC_FAILED; - free(*targetdata); - goto cleanup_stream; default: error_patch = PATCH_UNKNOWN; free(*targetdata);