From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH libdrm] tests: Use drmFreeVersion() instead of drmFree() Date: Wed, 19 Feb 2014 11:33:06 -0800 Message-ID: <87txbuew3x.fsf@eliezer.anholt.net> References: <1392824575-7064-2-git-send-email-thierry.reding@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0267323873==" Return-path: In-Reply-To: <1392824575-7064-2-git-send-email-thierry.reding@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: Thierry Reding , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0267323873== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Thierry Reding writes: > From: Thierry Reding > > drmFreeVersion() frees the memory allocated for the name, date and desc > fields in addition to that for the struct _drmVersion. > > Signed-off-by: Thierry Reding Reviewed-by: Eric Anholt --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJTBQbyAAoJELXWKTbR/J7oFGoP/iAcAHu3I/7F1zj9Mxj2a8d/ lRx4RQn+XIthd5G9iajQVIW1IYmgRkRRbmPAn0YudJtbySkc5afIc2ltF67/9cqK 0bCYp+0Mtq1JXeCJxAyRCiKBuKd1k/1U57pbMdIYKDSwPWCC0mCgvkm6u01g9he1 O3bTthHYQKmqpgVDCGNEcpPlZewL2RZ6qqbNBoyWFd6q4wxNKcb9CI+It6T0/UKZ N0L4OTopmD9H62ZVozIe17LxtaI8c4lGh0aiatuAsYrqVtZ1r3MU11KWqbAmDPyN dKSuxHbX/O/DgNMsb4bpS+GFJ1k6//lQDgjcgOieYtzhAAEz1+mbVJdMyCqqEIq3 QOPt0UHIWlbc/1Faixi+sJK/1Qi9FgARZTEEcOlhzRtJl9kh5R8ofABB1XlYqebR p5UgbKvsapWH0XhxHDy2WivpoqdDCkqS+zuqEtzW99OL3cNnJJbvEvsC2Ri8vF0l 2Y+CC1s4e5CSDwZ52KfeZydxZEPmhK/FpnYXbmYiR5uOQGdT16uZ4LY6wGSjpX6D 9QV/3WXmCvlJJPg2s7f05NEsXQ3sX69FbDmJZuR16A7SkJ3nkQhlMJkDQbeViONj QPwxTlXdDFQcy8zuDMnx7CYB45i7yobwJapbhCYhht/P///OnbBsOlmccRo6vAPp S7Iu5Sb6sREL5w+5PJ2C =crin -----END PGP SIGNATURE----- --=-=-=-- --===============0267323873== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0267323873==--