From: Ján Tomko Date: Mon, 11 Nov 2019 12:00:42 +0000 (+0100) Subject: docs: hacking: add missing code element X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=26791f39c042f093ed85d42962bb418f79ed35b5;p=libvirt.git docs: hacking: add missing code element Wrap the 'g_renew()' call for VIR_SHRINK_N in . Signed-off-by: Ján Tomko --- diff --git a/docs/hacking.html.in b/docs/hacking.html.in index 5d13e4f71d..06deab9e90 100644 --- a/docs/hacking.html.in +++ b/docs/hacking.html.in @@ -1056,7 +1056,7 @@ BAD: the newly added memory is not zeroed VIR_EXPAND_Ng_renew(var_t, ptr, n) zero the new memory manually or use an array type - VIR_SHRINK_Ng_renew(var_t, ptr, n) + VIR_SHRINK_Ng_renew(var_t, ptr, n) VIR_APPEND_ELEMENTg_array_append_val g_ptr_array_add or g_byte_array_append