[so] [Tema1]

Raluca Caciula raluca.caciula at gmail.com
Tue Mar 8 13:48:29 EET 2016


Buna ziua,

Am testat, (pentru fiecare test) tema si outputul dat de valgrind este:
==7957== Memcheck, a memory error detector
==7957== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==7957== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==7957== Command: ./tema1 56 ./_test/inputs/test1.in
==7957==
==7957==
==7957== HEAP SUMMARY:
==7957==     in use at exit: 0 bytes in 0 blocks
==7957==   total heap usage: 5 allocs, 5 frees, 1,056 bytes allocated
==7957==
==7957== All heap blocks were freed -- no leaks are possible
==7957==
==7957== For counts of detected and suppressed errors, rerun with: -v
==7957== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Pentru tratarea erorilor am folosit functia DIE(), insa daca a aparut o
eroare,
nu mai realizez dezalocarea memoriei alocate pana in momentul de fata. Este
aceasta o
problema?

Raluca Caciula
334 CB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20160308/55f06028/attachment.html>


More information about the so mailing list