diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 725d1c7..d8fb955 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -20889,7 +20889,7 @@ This technique is a pre-exception technique for RAII-like resource and error han // ... int* p = (int*) malloc(n); // ... - if (some_error) goto_exit; + if (some_error) goto exit; // ... exit: free(p);