Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 57e55da

Browse files
author
Juanjo Alvarez
committed
bump version
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
1 parent d20f35e commit 57e55da

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

bblfsh/pyuast.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@ static const char *PropertyKeyAt(const void *node, int index) {
121121

122122
static const char *PropertyValueAt(const void *node, int index) {
123123
PyObject *properties = AttributeValue(node, "properties");
124-
if (!properties || !PyMapping_Check(properties)) {
124+
if (!properties)
125+
return NULL;
126+
127+
if (!PyMapping_Check(properties)) {
128+
Py_DECREF(properties);
125129
return NULL;
126130
}
127131

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import os
2-
import subprocess
32
import sys
43

54
from setuptools import setup, find_packages, Extension
65
from setuptools.command.build_ext import build_ext
76

8-
VERSION = "2.9.8"
7+
VERSION = "2.9.10"
98
LIBUAST_VERSION = "v1.9.1"
109
SDK_VERSION = "v1.8.0"
1110
SDK_MAJOR = SDK_VERSION.split('.')[0]

0 commit comments

Comments
 (0)