/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/property.c

  • Committer: Suren A. Chilingaryan
  • Date: 2016-02-23 06:20:33 UTC
  • mfrom: (346.1.18 pcitool)
  • Revision ID: csa@suren.me-20160223062033-mz8qkpm1a2oioveb
Merge Python scripting support from Vasiliy Chernov

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
                continue;
166
166
            }
167
167
 
168
 
 
169
168
            dir = (struct dir_hash_s*)malloc(sizeof(struct dir_hash_s));
170
169
            if (!dir) {
171
170
                err = PCILIB_ERROR_MEMORY;
226
225
        };
227
226
    }
228
227
 
 
228
    HASH_ITER(hh, dir_hash, dir, dir_tmp) {
 
229
        HASH_DEL(dir_hash, dir);
 
230
        free(dir);
 
231
    }
229
232
    HASH_CLEAR(hh, dir_hash);
230
233
 
231
234
    memset(&info[pos], 0, sizeof(pcilib_property_info_t));