[prev in list] [next in list] [prev in thread] [next in thread]
List: oprofile-commits
Subject: [oprof-cvs] CVS: oprofile/utils ophelp.c,1.31,1.32
From: "Suravee Suthikulpanit" <ssuthiku () users ! sourceforge ! net>
Date: 2009-05-19 19:12:13
Message-ID: E1M6UjV-0007Wd-7Q () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/oprofile/oprofile/utils
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28830/utils
Modified Files:
ophelp.c
Log Message:
Add [PATCH]_[3_5]_Fix_cleanup_crash.patch from Andi Kleen
Index: ophelp.c
===================================================================
RCS file: /cvsroot/oprofile/oprofile/utils/ophelp.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -p -d -r1.31 -r1.32
--- ophelp.c 7 May 2009 14:20:16 -0000 1.31
+++ ophelp.c 19 May 2009 19:12:11 -0000 1.32
@@ -338,9 +338,11 @@ static void get_options(int argc, char c
static void cleanup(void)
{
int i;
- for (i = 0; i < num_chosen_events; ++i) {
- if (parsed_events[i].name)
- free(parsed_events[i].name);
+ if (parsed_events) {
+ for (i = 0; i < num_chosen_events; ++i) {
+ if (parsed_events[i].name)
+ free(parsed_events[i].name);
+ }
}
op_free_events();
if (optcon)
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Oprofile-commits mailing list
Oprofile-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic