Index: core/src/fxge/agg/agg23/agg_array.h |
diff --git a/core/src/fxge/agg/agg23/agg_array.h b/core/src/fxge/agg/agg23/agg_array.h |
index b3b5f2b877c84e08a37985aaeaeb55009bf56786..810eb4ef22829241fefe9d5c9735f91044c1257f 100644 |
--- a/core/src/fxge/agg/agg23/agg_array.h |
+++ b/core/src/fxge/agg/agg23/agg_array.h |
@@ -111,12 +111,8 @@ void pod_array<T>::capacity(unsigned cap, unsigned extra_tail) |
m_capacity = 0; |
} else if(full_cap > m_capacity) { |
FX_Free(m_array); |
- m_array = 0; |
- m_capacity = 0; |
m_array = FX_Alloc(T, full_cap); |
- if (m_array) { |
- m_capacity = full_cap; |
- } |
+ m_capacity = full_cap; |
} |
} |
template<class T> |