arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject arrow git commit: ARROW-1205: C++: Reference to type objects in ArrayLoader may cause segmentation faults
Date Tue, 11 Jul 2017 16:30:43 GMT
Repository: arrow
Updated Branches:
  refs/heads/master dbedc8d20 -> e8c09c625


ARROW-1205: C++: Reference to type objects in ArrayLoader may cause segmentation faults

Author: Uwe L. Korn <uwelk@xhochy.com>

Closes #831 from xhochy/ARROW-1205 and squashes the following commits:

081a843 [Uwe L. Korn] ARROW-1205: C++: Reference to type objects in ArrayLoader may cause
segmentation faults.


Project: http://git-wip-us.apache.org/repos/asf/arrow/repo
Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/e8c09c62
Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/e8c09c62
Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/e8c09c62

Branch: refs/heads/master
Commit: e8c09c625ba7f00ce8d3a78aee5675f4eb635bfc
Parents: dbedc8d
Author: Uwe L. Korn <uwelk@xhochy.com>
Authored: Tue Jul 11 18:30:39 2017 +0200
Committer: Uwe L. Korn <uwelk@xhochy.com>
Committed: Tue Jul 11 18:30:39 2017 +0200

----------------------------------------------------------------------
 cpp/src/arrow/ipc/reader.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/e8c09c62/cpp/src/arrow/ipc/reader.cc
----------------------------------------------------------------------
diff --git a/cpp/src/arrow/ipc/reader.cc b/cpp/src/arrow/ipc/reader.cc
index ae46207..8ca4d82 100644
--- a/cpp/src/arrow/ipc/reader.cc
+++ b/cpp/src/arrow/ipc/reader.cc
@@ -244,7 +244,7 @@ class ArrayLoader {
   }
 
  private:
-  const std::shared_ptr<DataType>& type_;
+  const std::shared_ptr<DataType> type_;
   ArrayLoaderContext* context_;
 
   // Used in visitor pattern


Mime
View raw message