This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCHv2,Hurd] Fix deallocation after proc_getprocinfo call


> 2014-10-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
> 
> 	* gdb/gnu-nat.c (inf_validate_procinfo): Multiply the number of
> 	elements pi_len by the size of the elements before calling
> 	vm_deallocate.
> 	(inf_validate_task_sc): Likewise, and properly deallocate the
> 	noise array.

Thank you, Samuel. The patch has now been pushed.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]