diff options
| author | Patrick Williams <iawillia@us.ibm.com> | 2013-04-08 14:40:21 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-04-17 16:56:52 -0500 |
| commit | 79f790c2b9d6a368f61a99af07d04ed9348ca504 (patch) | |
| tree | ad13d684f026aed530be76a2266730f9a31552f4 /src/usr/runtime/test | |
| parent | 24677286a33ea478fd5c2db959e894dd3a5f0e85 (diff) | |
| download | blackbird-hostboot-79f790c2b9d6a368f61a99af07d04ed9348ca504.tar.gz blackbird-hostboot-79f790c2b9d6a368f61a99af07d04ed9348ca504.zip | |
Fixes for GCC 4.7
Change-Id: Ief0b9202e13bd70cf0de84ca3cb20f5c6df4d3d8
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4035
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/runtime/test')
| -rw-r--r-- | src/usr/runtime/test/runtimeattrstest.H | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/runtime/test/runtimeattrstest.H b/src/usr/runtime/test/runtimeattrstest.H index 7ab4b1592..5fedfe42c 100644 --- a/src/usr/runtime/test/runtimeattrstest.H +++ b/src/usr/runtime/test/runtimeattrstest.H @@ -142,7 +142,7 @@ class RuntimeAttrsTest: public CxxTest::TestSuite } } attr++; - } + } if( attr != sysdata->numAttr ) { @@ -423,6 +423,7 @@ class RuntimeAttrsTest: public CxxTest::TestSuite 0, sys_data_addr, sys_data_size ); + if (errhdl) delete errhdl; return( (hsvc_system_data_t*)(sys_data_addr) ); }; hsvc_node_data_t* getNodePtr(void) @@ -434,6 +435,7 @@ class RuntimeAttrsTest: public CxxTest::TestSuite 0, node_data_addr, node_data_size ); + if (errhdl) delete errhdl; return( (hsvc_node_data_t*)(node_data_addr) ); }; |

