Index: src/modules/lib/stdlibc/file.c =================================================================== --- src/modules/lib/stdlibc/file.c (Revision 583) +++ src/modules/lib/stdlibc/file.c (Arbeitskopie) @@ -121,7 +121,7 @@ char* full_path = io_get_absolute_path(filename); //RPC-Daten zusammenstellen - char* msg = malloc(strlen(full_path) + 2); + char msg[strlen(full_path) + 2]; byte* attr = (byte*) msg; //Attribute aus dem mode-String parsen @@ -163,9 +163,6 @@ //weren. free(full_path); - - free(msg); - FILE* io_res = (io_resource_t*) resp->data; //Wenn ein Fehler beim oeffnen aufgetreten ist, wird NULL zurueck gegeben. if ((io_res == NULL) || (io_res->pid == 0) || (resp->data_length == 0)) {