]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mc-manual.xml fix new/delete expresions -> expression
authorMark Wielaard <mark@klomp.org>
Sat, 27 Apr 2024 20:19:54 +0000 (22:19 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 27 Apr 2024 20:19:58 +0000 (22:19 +0200)
Spotted by Philippe Waroquiers

memcheck/docs/mc-manual.xml

index ea07df153a1b36f0a25ad5be552cf6b292481dcf..a6fc9cf75c6b35f7d10a87336a41f0f38941dd69 100644 (file)
@@ -321,8 +321,8 @@ Mismatched free() / delete / delete []
 <para>In <literal>C++</literal> it's important to deallocate memory in a
 way compatible with how it was allocated.</para>
 <para>Most of the time in C++ you will write code that
-uses <function>new expresions</function> and <function>delete
-expresions</function>
+uses <function>new expression</function> and <function>delete
+expression</function>
 (see <ulink url="https://en.cppreference.com/w/cpp/language/new">cppreference
 new expression</ulink>
 and <ulink url="https://en.cppreference.com/w/cpp/language/delete">cppreference