Coverity: Resource leak: CID 180
[sxemacs] / lib-src / movemail.c
index 66456ed..909a7cc 100644 (file)
@@ -634,6 +634,7 @@ static void lock_dot(char *filename)
                }
        }
        strcpy(dotlock_filename, filename);
+       free(tempname);
 }
 #endif                         /* not DISABLE_DIRECT_ACCESS */