Files
pkgsrc-ng/textproc/jade/patches/patch-ap
T
2013-09-26 17:14:40 +02:00

14 lines
304 B
Plaintext

$NetBSD: patch-ap,v 1.1 2003/09/21 20:03:53 tron Exp $
--- include/Ptr.cxx.orig Tue Jul 22 09:20:15 2003
+++ include/Ptr.cxx Tue Jul 22 09:20:42 2003
@@ -19,7 +19,7 @@
Ptr<T>::~Ptr()
{
if (ptr_) {
- if (ptr_->unref())
+ if (((Resource*)ptr_)->unref())
delete ptr_;
ptr_ = 0;
}