<div dir="ltr"><div>привет!</div><div><br></div><div>изучаем утечки памяти. мешает вот такой шум</div><div><br></div><div>==5351== 2,160 bytes in 1 blocks are still reachable in loss record 1 of 2<br>==5351==    at 0x4C29BC3: malloc (vg_replace_malloc.c:299)<br>==5351==    by 0x157E01: ngx_strerror_init (in /usr/sbin/nginx-debug)<br>==5351==    by 0x1307FE: main (in /usr/sbin/nginx-debug)<br>==5351== <br>==5351== 3,030 bytes in 135 blocks are still reachable in loss record 2 of 2<br>==5351==    at 0x4C29BC3: malloc (vg_replace_malloc.c:299)<br>==5351==    by 0x157E66: ngx_strerror_init (in /usr/sbin/nginx-debug)<br>==5351==    by 0x1307FE: main (in /usr/sbin/nginx-debug)<br>==5351== <br>==5351== LEAK SUMMARY:<br>==5351==    definitely lost: 0 bytes in 0 blocks<br>==5351==    indirectly lost: 0 bytes in 0 blocks<br>==5351==      possibly lost: 0 bytes in 0 blocks<br>==5351==    still reachable: 5,190 bytes in 136 blocks<br>==5351==         suppressed: 0 bytes in 0 blocks<br>==5351== <br>==5351== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)<br>==5351== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)<br>[root@valgrind ~]# <br></div></div>