oprofile, arm: initialize perf_event pointers with NULL
authorRobert Richter <robert.richter@amd.com>
Mon, 30 Aug 2010 16:21:55 +0000 (18:21 +0200)
committerRobert Richter <robert.richter@amd.com>
Tue, 31 Aug 2010 10:51:43 +0000 (12:51 +0200)
commit4cbe75be5c6ae86bdc7daec864eeb2dfd66f48bb
treec0a99fac4a736cce9725b2c2da16a93ea95070fe
parentc7fd239a647ead1c336a051012d6bb96465ea8c6
oprofile, arm: initialize perf_event pointers with NULL

The pointers must be NULL'ed to avoid double-freeing the pointers in
rare cases during reinitialization.

Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/arm/oprofile/common.c