diff --git a/configure.ac b/configure.ac index 87ffe5523a..f350e70f24 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.69]) -AC_INIT([crun], [0.10.2], [giuseppe@scrivano.org]) +AC_INIT([crun], [0.10.3], [giuseppe@scrivano.org]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/src/libcrun/status.c b/src/libcrun/status.c index 7b72e8446c..f9d3f1e794 100644 --- a/src/libcrun/status.c +++ b/src/libcrun/status.c @@ -180,7 +180,7 @@ int libcrun_container_delete_status (const char *state_root, const char *id, libcrun_error_t *err) { int ret; - DIR *d; + cleanup_dir DIR *d = NULL; struct dirent *de; cleanup_close int rundir_dfd = -1; cleanup_close int dfd = -1;