ARROW-1180: [GLib] Fix a returning invalid address bug in garrow_tensor_get_dimension_name()
ARROW-1180: [GLib] Fix a returning invalid address bug in garrow_tensor_get_dimension_name()

See also: https://github.com/apache/arrow/pull/783#pullrequestreview-46377983

Author: Kouhei Sutou <kou@clear-code.com>

Closes #804 from kou/glib-fix-tensor-dimension-name and squashes the following commits:

5740be3f [Kouhei Sutou] [GLib] Fix a returning invalid address bug in garrow_tensor_get_dimension_name()

jeffknupp/arrow,dremio/arrow,wagavulin/arrow,wesm/arrow,pcmoritz/arrow,dremio/arrow,apache/arrow,wesm/arrow,majetideepak/arrow,itaiin/arrow,siddharthteotia/arrow,renesugar/arrow,icexelloss/arrow,dremio/arrow,tebeka/arrow,pcmoritz/arrow,jeffknupp/arrow,apache/arrow,itaiin/arrow,dremio/arrow,renesugar/arrow,majetideepak/arrow,itaiin/arrow,kou/arrow,laurentgo/arrow,laurentgo/arrow,xhochy/arrow,kou/arrow,NonVolatileComputing/arrow,NonVolatileComputing/arrow,icexelloss/arrow,wesm/arrow,jeffknupp/arrow,xhochy/arrow,dremio/arrow,xhochy/arrow,xhochy/arrow,renesugar/arrow,renesugar/arrow,siddharthteotia/arrow,siddharthteotia/arrow,wagavulin/arrow,icexelloss/arrow,kou/arrow,tebeka/arrow,tebeka/arrow,pcmoritz/arrow,yufeldman/arrow,wesm/arrow,renesugar/arrow,icexelloss/arrow,icexelloss/arrow,pcmoritz/arrow,siddharthteotia/arrow,yufeldman/arrow,renesugar/arrow,kou/arrow,kou/arrow,laurentgo/arrow,wagavulin/arrow,siddharthteotia/arrow,kou/arrow,siddharthteotia/arrow,NonVolatileComputing/arrow,tebeka/arrow,jeffknupp/arrow,wesm/arrow,icexelloss/arrow,dremio/arrow,tebeka/arrow,apache/arrow,cpcloud/arrow,tebeka/arrow,wagavulin/arrow,apache/arrow,cpcloud/arrow,renesugar/arrow,yufeldman/arrow,xhochy/arrow,laurentgo/arrow,siddharthteotia/arrow,wagavulin/arrow,laurentgo/arrow,apache/arrow,apache/arrow,xhochy/arrow,majetideepak/arrow,xhochy/arrow,wesm/arrow,icexelloss/arrow,tebeka/arrow,NonVolatileComputing/arrow,pcmoritz/arrow,laurentgo/arrow,apache/arrow,apache/arrow,renesugar/arrow,siddharthteotia/arrow,jeffknupp/arrow,yufeldman/arrow,itaiin/arrow,cpcloud/arrow,pcmoritz/arrow,majetideepak/arrow,pcmoritz/arrow,laurentgo/arrow,cpcloud/arrow,cpcloud/arrow,tebeka/arrow,icexelloss/arrow,cpcloud/arrow,icexelloss/arrow,icexelloss/arrow,wesm/arrow,majetideepak/arrow,laurentgo/arrow,cpcloud/arrow,jeffknupp/arrow,dremio/arrow,NonVolatileComputing/arrow,jeffknupp/arrow,pcmoritz/arrow,itaiin/arrow,pcmoritz/arrow,itaiin/arrow,xhochy/arrow,laurentgo/arrow,renesugar/arrow,apache/arrow,itaiin/arrow,apache/arrow,majetideepak/arrow,wesm/arrow,pcmoritz/arrow,renesugar/arrow,yufeldman/arrow,itaiin/arrow,wagavulin/arrow,icexelloss/arrow,wagavulin/arrow,itaiin/arrow,majetideepak/arrow,pcmoritz/arrow,dremio/arrow,NonVolatileComputing/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,renesugar/arrow,pcmoritz/arrow,xhochy/arrow,kou/arrow,itaiin/arrow,itaiin/arrow,yufeldman/arrow,apache/arrow,xhochy/arrow,wesm/arrow,siddharthteotia/arrow,majetideepak/arrow,wagavulin/arrow,kou/arrow,wagavulin/arrow,itaiin/arrow,kou/arrow,majetideepak/arrow,tebeka/arrow,laurentgo/arrow,wagavulin/arrow,wesm/arrow,NonVolatileComputing/arrow,apache/arrow,renesugar/arrow,xhochy/arrow,wesm/arrow,wesm/arrow,dremio/arrow,cpcloud/arrow,cpcloud/arrow,icexelloss/arrow,icexelloss/arrow,renesugar/arrow,majetideepak/arrow,xhochy/arrow,tebeka/arrow,laurentgo/arrow,jeffknupp/arrow,wesm/arrow,xhochy/arrow,wagavulin/arrow,yufeldman/arrow,jeffknupp/arrow,itaiin/arrow,apache/arrow,laurentgo/arrow,icexelloss/arrow,yufeldman/arrow,majetideepak/arrow,majetideepak/arrow,kou/arrow,NonVolatileComputing/arrow,itaiin/arrow,cpcloud/arrow,pcmoritz/arrow,wagavulin/arrow,majetideepak/arrow,cpcloud/arrow,yufeldman/arrow,dremio/arrow,laurentgo/arrow,apache/arrow,pcmoritz/arrow,majetideepak/arrow,yufeldman/arrow,NonVolatileComputing/arrow,cpcloud/arrow,cpcloud/arrow,xhochy/arrow,pcmoritz/arrow,cpcloud/arrow,siddharthteotia/arrow,dremio/arrow,jeffknupp/arrow,majetideepak/arrow,jeffknupp/arrow,kou/arrow,xhochy/arrow,kou/arrow,yufeldman/arrow,NonVolatileComputing/arrow,laurentgo/arrow,itaiin/arrow,NonVolatileComputing/arrow,renesugar/arrow,siddharthteotia/arrow,kou/arrow,renesugar/arrow