Changeset 8baa37 in git for Singular/attrib.cc
- Timestamp:
- Jan 24, 2014, 1:39:15 PM (10 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ee5e11e63c911034966a67782a24e7326c52abb1
- Parents:
- 5c8e18ff3dc32f83461ed21cad1151a77366ed567661e1502f806195a6458595ba7e711664a932bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/attrib.cc
r7661e1 r8baa37 65 65 static void attr_free(attr h, const ring r=currRing) 66 66 { 67 s_internalDelete(h->atyp,h->data,r); 68 h->data=NULL; 67 if (h->data!=NULL) /*avoid assume failure */ 68 { 69 s_internalDelete(h->atyp,h->data,r); 70 h->data=NULL; 71 } 69 72 } 70 73 … … 109 112 } 110 113 114 #if 0 111 115 void * atGet(idhdl root,const char * name) 112 116 { … … 128 132 return NULL; 129 133 } 134 #endif 130 135 131 136 void * atGet(idhdl root,const char * name, int t, void *defaultReturnValue) … … 228 233 root->attribute = NULL; 229 234 } 235 230 236 void at_KillAll(leftv root, const ring r) 231 237 {
Note: See TracChangeset
for help on using the changeset viewer.